public class MultiPathMapping extends Object implements PathMapping
IDENTITY
Constructor and Description |
---|
MultiPathMapping() |
Modifier and Type | Method and Description |
---|---|
MultiPathMapping |
link(String src,
String dst)
Creates a new link from the path
src to the path dst |
String |
map(String path)
Maps the given path to a new location.
|
String |
map(String path,
boolean reverse)
Maps the given path to a new location.
|
MultiPathMapping |
merge(MultiPathMapping base)
Merges the links from the given base mapping
|
public MultiPathMapping link(String src, String dst)
src
to the path dst
src
- source pathdst
- destination pathpublic MultiPathMapping merge(MultiPathMapping base)
base
- base mappingpublic String map(String path)
map
in interface PathMapping
path
- the pathpublic String map(String path, boolean reverse)
map
in interface PathMapping
path
- the pathreverse
- if true
a reverse mapping is applied"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"