FileDocCategorySizeDatePackage
IOFileFilter.javaAPI DocAndroid 1.5 API1942Wed May 06 22:42:46 BST 2009org.apache.commons.io.filefilter

IOFileFilter

public interface IOFileFilter implements FilenameFilter, FileFilter
An interface which brings the FileFilter and FilenameFilter interfaces together.
since
Commons IO 1.0
version
$Revision: 471628 $ $Date: 2006-11-06 04:06:45 +0000 (Mon, 06 Nov 2006) $
author
Stephen Colebourne

Fields Summary
Constructors Summary
Methods Summary
public booleanaccept(java.io.File file)
Checks to see if the File should be accepted by this filter.

Defined in {@link java.io.FileFilter}.

param
file the File to check
return
true if this file matches the test

public booleanaccept(java.io.File dir, java.lang.String name)
Checks to see if the File should be accepted by this filter.

Defined in {@link java.io.FilenameFilter}.

param
dir the directory File to check
param
name the filename within the directory to check
return
true if this file matches the test