Class GlobFilter

  • All Implemented Interfaces:
    Predicate<Path>

    public final class GlobFilter
    extends Object
    implements Predicate<Path>
    Filter that matches paths against a set of glob patterns.

    Excludes patterns take precedence over includes patterns.

    Returns true if the path matches any of the include patterns and does not match any of the exclude patterns.
    Since:
    0.13.0