kirk.io
Class NormalFileFilter
java.lang.Object
kirk.io.NormalFileFilter
- All Implemented Interfaces:
- FileFilter
- public class NormalFileFilter
- extends Object
- implements FileFilter
This class is used for filtering out normal files when using
java.io.File.listFiles(java.io.FileFilter).
- Since:
- 2.00
- Version:
- 2.10
- Author:
- Berend "Kirk" Wouda
- See Also:
File.list(java.io.FilenameFilter)
|
Method Summary |
boolean |
accept(File file)
Returns whether when the passed file should be included in the listing. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NormalFileFilter
public NormalFileFilter()
accept
public boolean accept(File file)
- Returns whether when the passed file should be included in the listing. If it
is a normal file, it should.
- Specified by:
accept in interface FileFilter
- Parameters:
file - The file to be checked upon.
- Returns:
- Whether the file is a normal file.