|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.sadun.util.DirectoryFileFilter
A FileFilter to filter in or out directories.
Constructor Summary | |
DirectoryFileFilter()
Create a DirectoryFileFilter which accepts only directories. |
|
DirectoryFileFilter(boolean doAccept)
Constructor for DirectoryFileFilter. |
Method Summary | |
boolean |
accept(java.io.File pathname)
Accepts or refuses directores depending on the construction parameters . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DirectoryFileFilter(boolean doAccept)
doAccept
- if true directories are accepted,
otherwise refused.public DirectoryFileFilter()
Method Detail |
public boolean accept(java.io.File pathname)
construction parameters
.
accept
in interface java.io.FileFilter
FileFilter.accept(File)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |