public class FalseFileFilter extends java.lang.Object implements IOFileFilter, java.io.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 and Type | Method and Description |
---|---|
boolean |
accept(java.io.File file)
Returns false.
|
boolean |
accept(java.io.File dir,
java.lang.String name)
Returns false.
|
public static final IOFileFilter FALSE
public static final IOFileFilter INSTANCE
public boolean accept(java.io.File file)
accept
in interface java.io.FileFilter
accept
in interface IOFileFilter
file
- the file to check (ignored)public boolean accept(java.io.File dir, java.lang.String name)
accept
in interface java.io.FilenameFilter
accept
in interface IOFileFilter
dir
- the directory to check (ignored)name
- the filename (ignored)Copyright © 2010 - 2020 Adobe. All Rights Reserved