|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface which brings the FileFilter and FilenameFilter interfaces together.
Method Summary | |
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. |
Method Detail |
public boolean accept(File file)
Defined in FileFilter
.
accept
in interface FileFilter
file
- the File to check
public boolean accept(File dir, String name)
Defined in FilenameFilter
.
accept
in interface FilenameFilter
dir
- the directory File to checkname
- the filename within the directory to check
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |