Package org.javlo.filter
Class DirectoryFilter
- java.lang.Object
-
- org.javlo.filter.DirectoryFilter
-
- All Implemented Interfaces:
FileFilter
,FilenameFilter
public class DirectoryFilter extends Object implements FilenameFilter, FileFilter
- Author:
- pvandermaesen
-
-
Field Summary
Fields Modifier and Type Field Description static DirectoryFilter
instance
-
Constructor Summary
Constructors Constructor Description DirectoryFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accept(File file)
boolean
accept(File file, String name)
-
-
-
Field Detail
-
instance
public static final DirectoryFilter instance
-
-
Method Detail
-
accept
public boolean accept(File file, String name)
- Specified by:
accept
in interfaceFilenameFilter
- See Also:
FilenameFilter.accept(java.io.File, java.lang.String)
-
accept
public boolean accept(File file)
- Specified by:
accept
in interfaceFileFilter
-
-