cc.mallet.util
Class RegexFileFilter

java.lang.Object
  extended by cc.mallet.util.RegexFileFilter
All Implemented Interfaces:
java.io.FileFilter

public class RegexFileFilter
extends java.lang.Object
implements java.io.FileFilter


Constructor Summary
RegexFileFilter(java.util.regex.Pattern nameRegex)
           
RegexFileFilter(java.util.regex.Pattern absolutePathRegex, java.util.regex.Pattern filenameRegex)
           
RegexFileFilter(java.lang.String filenameRegex)
           
RegexFileFilter(java.lang.String absolutePathRegex, java.lang.String filenameRegex)
           
 
Method Summary
 boolean accept(java.io.File f)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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)
Method Detail

accept

public boolean accept(java.io.File f)
Specified by:
accept in interface java.io.FileFilter