com.atlassian.seraph.util
Class PathMapper
java.lang.Object
com.atlassian.seraph.util.PathMapper
- All Implemented Interfaces:
- IPathMapper, Serializable
public class PathMapper
- extends Object
- implements Serializable, IPathMapper
- Author:
- Joe Walnes, Mike Cannon-Brookes, Hani Suleiman
- See Also:
- Serialized Form
PathMapper
public PathMapper()
put
public void put(String key,
String pattern)
- Description copied from interface:
IPathMapper
- Add a key and appropriate matching pattern.
- Specified by:
put
in interface IPathMapper
get
public String get(String path)
- Description copied from interface:
IPathMapper
- Retrieve appropriate key by matching patterns with supplied path.
- Specified by:
get
in interface IPathMapper
getAll
public Collection<String> getAll(String path)
- Description copied from interface:
IPathMapper
- Retrieve all mappings which match a supplied path.
- Specified by:
getAll
in interface IPathMapper
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2013 Atlassian. All Rights Reserved.