public class FalseFileFilter extends Object implements IOFileFilter, Serializable
FileFilterUtils.falseFileFilter()
,
Serialized FormModifier and Type | Field and Description |
---|---|
static IOFileFilter |
FALSE
Singleton instance of false filter.
|
static IOFileFilter |
INSTANCE
Singleton instance of false filter.
|
Modifier | Constructor and Description |
---|---|
protected |
FalseFileFilter()
Restrictive consructor.
|
public static final IOFileFilter FALSE
public static final IOFileFilter INSTANCE
protected FalseFileFilter()
public boolean accept(File file)
accept
in interface FileFilter
accept
in interface IOFileFilter
file
- the file to check (ignored)public boolean accept(File dir, String name)
accept
in interface FilenameFilter
accept
in interface IOFileFilter
dir
- the directory to check (ignored)name
- the filename (ignored)Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.