com.kirkwarez.kirkpack.io.filter.file
Class NormalFileFilter
java.lang.Object
com.kirkwarez.kirkpack.io.filter.file.NormalFileFilter
- All Implemented Interfaces:
- FileFilter
- Direct Known Subclasses:
- ExtensionFileFilter
- 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)
or other things requiring
file filters.
- Since:
- 2.00
- Version:
- 2.10
- Author:
- Berend "Kirk" Wouda
- See Also:
File
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.