public interface IOFileFilter extends FileFilter, FilenameFilter
Modifier and Type | Method and Description |
---|---|
boolean |
accept(File file)
Checks to see if the File should be accepted by this filter.
|
boolean |
accept(File dir,
String name)
Checks to see if the File should be accepted by this filter.
|
boolean accept(File file)
Defined in FileFilter
.
accept
in interface FileFilter
file
- the File to checkboolean accept(File dir, String name)
Defined in FilenameFilter
.
accept
in interface FilenameFilter
dir
- the directory File to checkname
- the filename within the directory to checkCopyright © 2001–2019 KnowGate. All rights reserved.