java.io.FileFilter, java.io.FilenameFilter, java.io.Serializable, IOFileFilterpublic class FalseFileFilter extends java.lang.Object implements IOFileFilter, java.io.Serializable
FileFilterUtils.falseFileFilter(),
Serialized Form| Modifier and Type | Field | Description |
|---|---|---|
static IOFileFilter |
FALSE |
Singleton instance of false filter.
|
static IOFileFilter |
INSTANCE |
Singleton instance of false filter.
|
| Modifier | Constructor | Description |
|---|---|---|
protected |
FalseFileFilter() |
Restrictive constructor.
|
| Modifier and Type | Method | 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
protected FalseFileFilter()
public boolean accept(java.io.File file)
accept in interface java.io.FileFilteraccept in interface IOFileFilterfile - the file to check (ignored)public boolean accept(java.io.File dir, java.lang.String name)
accept in interface java.io.FilenameFilteraccept in interface IOFileFilterdir - the directory to check (ignored)name - the filename (ignored)