public class Path extends Object implements Comparable<Path>
| Constructor and Description |
|---|
Path(String path)
Create a new path object.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Path o) |
boolean |
equals(Object obj) |
String |
getPath()
Return the path.
|
int |
hashCode() |
boolean |
matches(String otherPath)
Check whether the provided path is equal to this path or a sub path
of it.
|
public Path(String path)
path - The resource path.public boolean matches(String otherPath)
otherPath - Path to checktrue If other path is within the sub tree of this path.public String getPath()
public int compareTo(Path o)
compareTo in interface Comparable<Path>"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"