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