| java.lang.Object org.apache.commons.io.filefilter.AbstractFileFilter
All known Subclasses: org.apache.commons.io.filefilter.CanReadFileFilter, org.apache.commons.io.filefilter.AgeFileFilter, org.apache.commons.io.filefilter.NotFileFilter, org.apache.commons.io.filefilter.SuffixFileFilter, org.apache.commons.io.filefilter.WildcardFilter, org.apache.commons.io.filefilter.OrFileFilter, org.apache.commons.io.filefilter.PrefixFileFilter, org.apache.commons.io.filefilter.AndFileFilter, org.apache.commons.io.filefilter.SizeFileFilter, org.apache.commons.io.filefilter.DirectoryFileFilter, org.apache.commons.io.filefilter.EmptyFileFilter, org.apache.commons.io.filefilter.FileFileFilter, org.apache.commons.io.filefilter.DelegateFileFilter, org.apache.commons.io.filefilter.WildcardFileFilter, org.apache.commons.io.filefilter.CanWriteFileFilter, org.apache.commons.io.filefilter.NameFileFilter, org.apache.commons.io.filefilter.HiddenFileFilter,
AbstractFileFilter | abstract public class AbstractFileFilter implements IOFileFilter(Code) | | An abstract class which implements the Java FileFilter and FilenameFilter
interfaces via the IOFileFilter interface.
Note that a subclass must override one of the accept methods,
otherwise your class will infinitely loop.
since: Commons IO 1.0 version: $Revision: 471628 $ $Date: 2006-11-06 05:06:45 +0100 (Mo, 06 Nov 2006) $ author: Stephen Colebourne |
Method Summary | |
public boolean | accept(File file) Checks to see if the File should be accepted by this filter. | public boolean | accept(File dir, String name) Checks to see if the File should be accepted by this filter. |
accept | public boolean accept(File file)(Code) | | Checks to see if the File should be accepted by this filter.
Parameters: file - the File to check true if this file matches the test |
accept | public boolean accept(File dir, String name)(Code) | | Checks to see if the File should be accepted by this filter.
Parameters: dir - the directory File to check Parameters: name - the filename within the directory to check true if this file matches the test |
|
|