|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.io.filefilter.FalseFileFilter
public class FalseFileFilter
A file filter that always returns false.
| Field Summary | |
|---|---|
static IOFileFilter |
FALSE
Singleton instance of false filter. |
static IOFileFilter |
INSTANCE
Singleton instance of false filter. |
| Constructor Summary | |
|---|---|
protected |
FalseFileFilter()
Restrictive consructor. |
| Method Summary | |
|---|---|
boolean |
accept(File file)
Returns false. |
boolean |
accept(File dir,
String name)
Returns false. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final IOFileFilter FALSE
public static final IOFileFilter INSTANCE
| Constructor Detail |
|---|
protected FalseFileFilter()
| Method Detail |
|---|
public boolean accept(File file)
accept in interface FileFilteraccept in interface IOFileFilterfile - the file to check
public boolean accept(File dir,
String name)
accept in interface FilenameFilteraccept in interface IOFileFilterdir - the directory to checkname - the filename
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||