Constructor and Description |
---|
PathPredicate(java.lang.String pattern)
Creates a new default path filter
|
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(java.lang.Object item)
Evaluates the predicate for the given object.
|
public PathPredicate(java.lang.String pattern)
| Pattern | Matches | /foo | exactly "/foo" | /foo.* | all paths starting with "foo." | foo.* | all files starting with "foo." | /foo/* | all direct children of /foo | /foo/** | all children of /foo
pattern
- the patternpublic boolean evaluate(java.lang.Object item)
Predicate
evaluate
in interface Predicate
item
- some objectPredicate.evaluate(java.lang.Object)
Copyright © 2010 - 2020 Adobe. All Rights Reserved