net.groboclown.util.io.v1
Class AllFileFilter
java.lang.Object
|
+--net.groboclown.util.io.v1.AllFileFilter
- All Implemented Interfaces:
- FileFilter, FilenameFilter
- public class AllFileFilter
- extends Object
- implements FilenameFilter, FileFilter
Allows all files to be accepted.
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
AllFileFilter
public AllFileFilter()
- Default constructor.
accept
public boolean accept(File pathname)
- Accepts all files.
- Specified by:
accept in interface FileFilter
accept
public boolean accept(File dir,
String name)
- Accepts all files.
- Specified by:
accept in interface FilenameFilter
Written under the LGPL