public final class RegexPathFilter extends Object implements org.apache.hadoop.fs.PathFilter
PathFilter
based on matching regular expressions.Constructor and Description |
---|
RegexPathFilter(String regex)
Construct with the given regex
|
public RegexPathFilter(String regex)
regex
- the regexpublic boolean accept(org.apache.hadoop.fs.Path arg)
accept
in interface org.apache.hadoop.fs.PathFilter