|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.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.FileFilterFileFilter.accept(File)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||