public class PathAliasReplacementFromMap extends java.lang.Object implements PathAliasReplacement
Constructor and Description |
---|
PathAliasReplacementFromMap(java.util.Map<java.lang.String,java.lang.String> aliases) |
PathAliasReplacementFromMap(java.lang.String... keyvals) |
Modifier and Type | Method and Description |
---|---|
boolean |
containsPathAlias(java.lang.String path) |
java.lang.String |
replaceIfMatch(java.lang.String path) |
java.lang.String |
replacePathAlias(java.lang.String path) |
public PathAliasReplacementFromMap(java.util.Map<java.lang.String,java.lang.String> aliases)
public PathAliasReplacementFromMap(java.lang.String... keyvals)
public boolean containsPathAlias(java.lang.String path)
containsPathAlias
in interface PathAliasReplacement
public java.lang.String replaceIfMatch(java.lang.String path)
replaceIfMatch
in interface PathAliasReplacement
public java.lang.String replacePathAlias(java.lang.String path)
replacePathAlias
in interface PathAliasReplacement