public interface IOFileFilter extends FileFilter, FilenameFilter
Modifier and Type | Field and Description |
---|---|
static String[] |
EMPTY_STRING_ARRAY
An empty String array.
|
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.
|
static final String[] EMPTY_STRING_ARRAY
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 file name within the directory to checkCopyright © 2002–2020 The Apache Software Foundation. All rights reserved.