Package cc.mallet.util
Class RegexFileFilter
- java.lang.Object
-
- cc.mallet.util.RegexFileFilter
-
- All Implemented Interfaces:
java.io.FileFilter
public class RegexFileFilter extends java.lang.Object implements java.io.FileFilter
-
-
Constructor Summary
Constructors Constructor Description RegexFileFilter(java.lang.String filenameRegex)
RegexFileFilter(java.lang.String absolutePathRegex, java.lang.String filenameRegex)
RegexFileFilter(java.util.regex.Pattern nameRegex)
RegexFileFilter(java.util.regex.Pattern absolutePathRegex, java.util.regex.Pattern filenameRegex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accept(java.io.File f)
-
-
-
Constructor Detail
-
RegexFileFilter
public RegexFileFilter(java.util.regex.Pattern absolutePathRegex, java.util.regex.Pattern filenameRegex)
-
RegexFileFilter
public RegexFileFilter(java.lang.String absolutePathRegex, java.lang.String filenameRegex)
-
RegexFileFilter
public RegexFileFilter(java.util.regex.Pattern nameRegex)
-
RegexFileFilter
public RegexFileFilter(java.lang.String filenameRegex)
-
-