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

FalseFileFilter

public class FalseFileFilter extends Object implements Serializable, IOFileFilter
A file filter that always returns false.
since
Commons IO 1.0
version
$Revision: 587978 $ $Date: 2007-10-24 20:36:51 +0100 (Wed, 24 Oct 2007) $
author
Stephen Colebourne

Fields Summary
public static final IOFileFilter
FALSE
Singleton instance of false filter.
public static final IOFileFilter
INSTANCE
Singleton instance of false filter. Please use the identical FalseFileFilter.FALSE constant. The new name is more JDK 1.5 friendly as it doesn't clash with other values when using static imports.
Constructors Summary
protected FalseFileFilter()
Restrictive consructor.


           
      
    
Methods Summary
public booleanaccept(java.io.File file)
Returns false.

param
file the file to check
return
false

        return false;
    
public booleanaccept(java.io.File dir, java.lang.String name)
Returns false.

param
dir the directory to check
param
name the filename
return
false

        return false;