org.apache.commons.io.filefilter
Class FalseFileFilter
java.lang.Object
org.apache.commons.io.filefilter.FalseFileFilter
- FileFilter, FilenameFilter, IOFileFilter, Serializable
public class FalseFileFilter
extends java.lang.Object
A file filter that always returns false.
$Revision: 587978 $ $Date: 2007-10-24 20:36:51 +0100 (Wed, 24 Oct 2007) $
boolean | accept(File file) - Returns false.
|
boolean | accept(File dir, String name) - Returns false.
|
FALSE
public static final IOFileFilter FALSE
Singleton instance of false filter.
INSTANCE
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.
FalseFileFilter
protected FalseFileFilter()
Restrictive consructor.
accept
public boolean accept(File dir,
String name)
Returns false.
- accept in interface IOFileFilter
dir
- the directory to checkname
- the filename
Copyright (c) 2002-2009 Apache Software Foundation