|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--javax.swing.filechooser.FileFilter
|
+--edu.neu.ccs.gui.FileView.ExtensionFileFilter
A file filter that accepts all files with a specific extension.
| Constructor Summary | |
FileView.ExtensionFileFilter(String extension)
Constructor for a filter accepting all files with the given extension. |
|
| Method Summary | |
boolean |
accept(File f)
Returns whether or not the given file is acceptable to this filter. |
String |
getDescription()
The description of this filter. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FileView.ExtensionFileFilter(String extension)
String is null,
all files are acceptable to this filter.
extension - the desired extension| Method Detail |
public boolean accept(File f)
accept in class FileFilterf - the file to be testedpublic String getDescription()
getDescription in class FileFilter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||