org.apache.commons.io.filefilter
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.FileFilter
accept
in interface IOFileFilter
file
- the file to checkpublic boolean accept(java.io.File dir, java.lang.String name)
accept
in interface java.io.FilenameFilter
accept
in interface IOFileFilter
dir
- the directory to checkname
- the filenameCopyright (c) 2002-2016 Apache Software Foundation