|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.interview.FilesAndDirectoriesFileFilter
public class FilesAndDirectoriesFileFilter
A filter which accepts all files and directories.
Constructor Summary | |
---|---|
FilesAndDirectoriesFileFilter(java.lang.String description)
Create a filter which accepts all files and directories. |
Method Summary | |
---|---|
boolean |
accept(java.io.File f)
Check if a file is accepted by this filter. |
boolean |
acceptsDirectories()
Check if (all) directories are accepted by this filter. |
java.lang.String |
getDescription()
Get a short description for this filter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FilesAndDirectoriesFileFilter(java.lang.String description)
description
- A short string describing the filter.Method Detail |
---|
public boolean accept(java.io.File f)
FileFilter
accept
in interface FileFilter
f
- The file to be tested.
public boolean acceptsDirectories()
FileFilter
acceptsDirectories
in interface FileFilter
public java.lang.String getDescription()
getDescription
in interface FileFilter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |