- All Implemented Interfaces:
Predicate<org.apache.flink.core.fs.Path>
public class RegexFileFilter
extends Object
implements Predicate<org.apache.flink.core.fs.Path>
A file filter that filters out hidden files, see
DefaultFileFilter and the files whose
path doesn't match the given regex pattern.
-
Constructor Summary
Constructors
-
Method Summary
boolean
test(org.apache.flink.core.fs.Path path)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
RegexFileFilter
public RegexFileFilter(String pathPattern)
-
Method Details
-
test
public boolean test(org.apache.flink.core.fs.Path path)
- Specified by:
test in interface Predicate<org.apache.flink.core.fs.Path>