public abstract class AbstractPathMapper extends java.lang.Object implements PathMapper
Constructor and Description |
---|
AbstractPathMapper() |
Modifier and Type | Method and Description |
---|---|
boolean |
canReplaceLocal(java.lang.String localPath) |
boolean |
canReplaceRemote(java.lang.String remotePath) |
static java.lang.String |
convertToLocal(java.lang.String remotePath,
java.lang.Iterable<? extends PathMappingSettings.PathMapping> mappings) |
java.util.List<java.lang.String> |
convertToRemote(java.util.Collection<java.lang.String> paths) |
static java.lang.String |
convertToRemote(java.lang.String localPath,
java.util.Collection<? extends PathMappingSettings.PathMapping> pathMappings) |
protected abstract java.util.Collection<PathMappingSettings.PathMapping> |
getAvailablePathMappings() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
convertToLocal, convertToRemote, isEmpty
public static java.lang.String convertToLocal(java.lang.String remotePath, java.lang.Iterable<? extends PathMappingSettings.PathMapping> mappings)
public static java.lang.String convertToRemote(java.lang.String localPath, java.util.Collection<? extends PathMappingSettings.PathMapping> pathMappings)
public final java.util.List<java.lang.String> convertToRemote(java.util.Collection<java.lang.String> paths)
convertToRemote
in interface PathMapper
public final boolean canReplaceRemote(java.lang.String remotePath)
canReplaceRemote
in interface PathMapper
public final boolean canReplaceLocal(java.lang.String localPath)
canReplaceLocal
in interface PathMapper
protected abstract java.util.Collection<PathMappingSettings.PathMapping> getAvailablePathMappings()