Class PathPredicate
- java.lang.Object
 - 
- org.apache.jackrabbit.commons.predicate.PathPredicate
 
 
- 
- 
Constructor Summary
Constructors Constructor Description PathPredicate(java.lang.String pattern)Creates a new default path filter 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanevaluate(java.lang.Object item)Evaluates the predicate for the given object. 
 - 
 
- 
- 
Constructor Detail
- 
PathPredicate
public PathPredicate(java.lang.String pattern)
Creates a new default path filter| 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
- Parameters:
 pattern- the pattern
 
 - 
 
- 
Method Detail
- 
evaluate
public boolean evaluate(java.lang.Object item)
Description copied from interface:PredicateEvaluates the predicate for the given object.- Specified by:
 evaluatein interfacePredicate- Parameters:
 item- some object- Returns:
 - predicate result
 - See Also:
 Predicate.evaluate(java.lang.Object)
 
 - 
 
 -