|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.filechooser.FileFilter
ucar.unidata.util.FileManager.ExtFilter
public static class FileManager.ExtFilter
A FileFilter extension that allows specifiying
an extension and description.
| Constructor Summary | |
|---|---|
FileManager.ExtFilter(String file_extension,
String desc)
Create an ExtFilter with the given params. |
|
| Method Summary | |
|---|---|
boolean |
accept(File file)
Accept the file. |
String |
getDescription()
Get the description for the files this filter accepts. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileManager.ExtFilter(String file_extension,
String desc)
ExtFilter with the given params.
file_extension - extension for files.desc - description of these files.| Method Detail |
|---|
public boolean accept(File file)
accept in class FileFilterfile - file to accept
public String getDescription()
getDescription in class FileFilter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||