Class FileFileFilter

  extended by
All Implemented Interfaces:

public class FileFileFilter
extends java.lang.Object
implements IOFileFilter,

This filter accepts Files that are files (not directories). Based on code from Apache Commons IO version 2.01. The main difference is that this class filters objects that implement FileIf, not File.

See Also:
Serialized Form

Field Summary
static IOFileFilter FILE
          Singleton instance of file filter
Method Summary
 boolean accept(FileIf file)
          Checks to see if the file is a file.
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail


public static final IOFileFilter FILE
Singleton instance of file filter

Method Detail


public boolean accept(FileIf file)
Checks to see if the file is a file.

Specified by:
accept in interface IOFileFilter
file - the File to check
true if the file is a file