public class FalseFileFilter extends Object implements IOFileFilter, Serializable
| Modifier 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.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(File file)
Returns false.
|
boolean |
accept(File dir,
String name)
Returns false.
|
public static final IOFileFilter FALSE
public static final IOFileFilter INSTANCE
public boolean accept(File file)
accept in interface IOFileFilteraccept in interface FileFilterfile - the file to checkpublic boolean accept(File dir, String name)
accept in interface IOFileFilteraccept in interface FilenameFilterdir - the directory to checkname - the filenameCopyright © 2001–2019 KnowGate. All rights reserved.