|
DODS 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.enhydra.dods.wizard.DirectoryNameFilter
DirectoryNameFilter restricts file sets to only those files that are directories. Use this with JFileChooser to create a directory chooser.
Constructor Summary | |
DirectoryNameFilter()
Create a DirectoryNameFilter for use with the FileChooser dialog. |
Method Summary | |
boolean |
accept(java.io.File dir,
java.lang.String name)
Check to see if the passed file is a directory. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DirectoryNameFilter()
Method Detail |
public boolean accept(java.io.File dir, java.lang.String name)
accept
in interface java.io.FilenameFilter
|
DODS 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |