public class TrueFileFilter extends java.lang.Object implements IOFileFilter, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
static IOFileFilter |
INSTANCE
Singleton instance of true filter.
|
static IOFileFilter |
TRUE
Singleton instance of true filter.
|
| Modifier | Constructor and Description |
|---|---|
protected |
TrueFileFilter()
Restrictive consructor.
|
public static final IOFileFilter TRUE
public static final IOFileFilter INSTANCE
public boolean accept(java.io.File file)
accept in interface java.io.FileFilteraccept in interface IOFileFilterfile - the file to checkpublic boolean accept(java.io.File dir,
java.lang.String name)
accept in interface java.io.FilenameFilteraccept in interface IOFileFilterdir - the directory to checkname - the filenameCopyright (c) 2002-2014 Apache Software Foundation