| java.lang.Object org.apache.commons.io.filefilter.AbstractFileFilter org.apache.commons.io.filefilter.DelegateFileFilter
DelegateFileFilter | public class DelegateFileFilter extends AbstractFileFilter (Code) | | This class turns a Java FileFilter or FilenameFilter into an IO FileFilter.
since: Commons IO 1.0 version: $Revision: 471628 $ $Date: 2006-11-06 05:06:45 +0100 (Mo, 06 Nov 2006) $ author: Stephen Colebourne |
DelegateFileFilter | public DelegateFileFilter(FilenameFilter filter)(Code) | | Constructs a delegate file filter around an existing FilenameFilter.
Parameters: filter - the filter to decorate |
DelegateFileFilter | public DelegateFileFilter(FileFilter filter)(Code) | | Constructs a delegate file filter around an existing FileFilter.
Parameters: filter - the filter to decorate |
accept | public boolean accept(File file)(Code) | | Checks the filter.
Parameters: file - the file to check true if the filter matches |
accept | public boolean accept(File dir, String name)(Code) | | Checks the filter.
Parameters: dir - the directory Parameters: name - the filename in the directory true if the filter matches |
|
|