org.apache.commons.io.filefilter
public class TrueFileFilter extends Object implements IOFileFilter, Serializable
FileFilterUtils.trueFileFilter()
,
Serialized FormModifier 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(File file)
accept
in interface FileFilter
accept
in interface IOFileFilter
file
- the file to checkpublic boolean accept(File dir, String name)
accept
in interface FilenameFilter
accept
in interface IOFileFilter
dir
- the directory to checkname
- the filenameCopyright © 2002-2013 JBoss by Red Hat. All Rights Reserved.