final class ChildPathFilter extends java.lang.Object implements PathFilter
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
prefix |
| Constructor and Description |
|---|
ChildPathFilter(java.lang.String path) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(java.lang.String path)
Determine whether a path should be accepted.
|
boolean |
equals(ChildPathFilter obj) |
boolean |
equals(java.lang.Object obj)
Determine whether this filter is equal to another.
|
int |
hashCode()
Calculate a unique hash code for this path filter.
|
java.lang.String |
toString() |
public boolean accept(java.lang.String path)
PathFilter/" characters.accept in interface PathFilterpath - the path to checkpublic boolean equals(java.lang.Object obj)
PathFilterequals in interface PathFilterequals in class java.lang.Objectobj - the other objecttrue if this filter is the samepublic boolean equals(ChildPathFilter obj)
public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
PathFilterhashCode in interface PathFilterhashCode in class java.lang.Object