|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--javax.swing.filechooser.FileFilter
|
+--org.exolab.jms.tools.admin.DatabaseFilter
A file filter used by the file chooser to resitrict displayed files to files with a ".db" suffix only.
| Constructor Summary | |
DatabaseFilter()
The default constructor does nothing. |
|
| Method Summary | |
boolean |
accept(java.io.File f)
All files in a directory are passed to this method to determine if they should be displayed. |
java.lang.String |
getDescription()
The file suffix to allow display. |
java.lang.String |
getSuffix(java.io.File f)
Get the suffix of the given file. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DatabaseFilter()
| Method Detail |
public boolean accept(java.io.File f)
accept in class javax.swing.filechooser.FileFilterf - The file to be checked for display.public java.lang.String getDescription()
getDescription in class javax.swing.filechooser.FileFilterpublic java.lang.String getSuffix(java.io.File f)
f - The file to check.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||