public class TrueFileFilter extends Object implements IOFileFilter, Serializable
FileFilterUtils.trueFileFilter(),
Serialized Form| 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 constructor.
|
public static final IOFileFilter TRUE
public static final IOFileFilter INSTANCE
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)Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.