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