Class PathPredicate

java.lang.Object
org.apache.jackrabbit.commons.predicate.PathPredicate
All Implemented Interfaces:
Predicate

public class PathPredicate extends Object implements Predicate
The path filter provides hierarchical filtering.
  • Constructor Details

    • PathPredicate

      public PathPredicate(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 Details