|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.util.PathMapper
public class PathMapper
A component that maps source data paths to target data paths.
This class caches results and is thread-safe.
Constructor Summary | |
---|---|
PathMapper()
Default constructor |
Method Summary | |
---|---|
void |
addPathMap(java.lang.String sourcePath,
java.lang.String targetPath)
Add a path mapping. |
void |
clear()
|
java.util.Map |
convertMap(java.util.Map valueMap)
|
java.util.Set |
getMappedPaths(java.lang.String sourcePath)
Gets the remapped paths for the given source path, excluding any derivative paths i.e. |
java.util.Set |
getMappedPathsWithPartialMatch(java.lang.String sourcePath)
Gets the remapped paths for the given source path, including any derivative paths i.e. |
boolean |
isEmpty()
|
void |
lock()
Locks the instance against further modifications. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PathMapper()
Method Detail |
---|
public void lock()
public void clear()
public void addPathMap(java.lang.String sourcePath, java.lang.String targetPath)
sourcePath
- the source pathtargetPath
- the target pathpublic java.util.Set getMappedPaths(java.lang.String sourcePath)
sourcePath
- the source path
public java.util.Set getMappedPathsWithPartialMatch(java.lang.String sourcePath)
sourcePath
- the source path
public boolean isEmpty()
public java.util.Map convertMap(java.util.Map valueMap)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |