public class TrueFileFilter extends java.lang.Object implements IOFileFilter, java.io.Serializable
FileFilterUtils.trueFileFilter(),
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static IOFileFilter |
INSTANCE
Singleton instance of true filter.
|
private static long |
serialVersionUID |
static IOFileFilter |
TRUE
Singleton instance of true filter.
|
| Modifier | Constructor and Description |
|---|---|
protected |
TrueFileFilter()
Restrictive constructor.
|
private static final long serialVersionUID
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 check (ignored)public boolean accept(java.io.File dir,
java.lang.String name)
accept in interface java.io.FilenameFilteraccept in interface IOFileFilterdir - the directory to check (ignored)name - the filename (ignored)Copyright (c) 2002-2016 Apache Software Foundation