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.


Constructor Summary
AllFileFilter()
          Default constructor.
 
Method Summary
 boolean accept(File pathname)
          Accepts all files.
 boolean accept(File dir, String name)
          Accepts all files.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

AllFileFilter

public AllFileFilter()
Default constructor.
Method Detail

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