public class RegexFileFilter extends Object implements java.util.function.Predicate<Path>
DefaultFileFilter
and the files whose
path doesn't match the given regex pattern.Constructor and Description |
---|
RegexFileFilter(String pathPattern) |
Modifier and Type | Method and Description |
---|---|
boolean |
test(Path path) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
and, isEqual, negate, or
public RegexFileFilter(String pathPattern)
public boolean test(Path path)
test
in interface java.util.function.Predicate<Path>
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.