- All Implemented Interfaces:
Predicate<Path>
- Enclosing class:
- FileUtil
simple file filter that lists all files that match a regular expression
-
Constructor Summary
Constructors
-
Method Summary
boolean
true if a file matches a regular expression
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ExpressionFileFilter
public ExpressionFileFilter(String _regExp)
- Parameters:
_regExp - the simplified regular expression to match
-
Method Details
-
test
public boolean test(Path checkFile)
true if a file matches a regular expression
- Specified by:
test in interface Predicate<Path>
- See Also:
-