Constructor and Description |
---|
PathPredicate(String pattern)
Creates a new default path filter
|
public PathPredicate(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(Object item)
Predicate
evaluate
in interface Predicate
item
- some objectPredicate.evaluate(java.lang.Object)
Copyright © 2010 - 2020 Adobe. All Rights Reserved