Package openllet.core.utils
Class PatternFilter
- java.lang.Object
-
- openllet.core.utils.PatternFilter
-
- All Implemented Interfaces:
java.io.FileFilter
public class PatternFilter extends java.lang.Object implements java.io.FileFilter
File filter implementation that filters by pattern matching on the file name using regular expressions. Two patterns are specified. A file is accepted if its name matches the first pattern and does NOT _match the second pattern.- Author:
- Evren Sirin
-
-
Constructor Summary
Constructors Constructor Description PatternFilter(java.lang.String match)
PatternFilter(java.lang.String match, java.lang.String noMatch)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accept(java.io.File file)
-