|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--javax.swing.filechooser.FileFilter
|
+--audiojury.gui.admin.ResultfileFilter
A filter approving ajr-files containing ProjectResults. Extends the FileFilter to filter and accept these files, which has the extension 'ajr'.
| Constructor Summary | |
ResultfileFilter()
|
|
| Method Summary | |
boolean |
accept(java.io.File f)
Checks a File is a ajr-file or not (or a directory).
|
java.lang.String |
getDescription()
Retrieves a short description of this filter. |
static java.lang.String |
getExtension(java.io.File f)
Retrieves the extension of a File. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ResultfileFilter()
| Method Detail |
public boolean accept(java.io.File f)
File is a ajr-file or not (or a directory).
This check is done by looking at the file extension. Directories are also accepted.
accept in class javax.swing.filechooser.FileFilterf - Checks a File is a supported sound file or not (or a directory).
This check is done by looking at the file extension. Direcotries are also accepted.
boolean indicating if the file is accepted by this filter or not.public static java.lang.String getExtension(java.io.File f)
File.
f - File to retrive the extension from.
String with the extension from the File.public java.lang.String getDescription()
getDescription in class javax.swing.filechooser.FileFilterString with a short description of the filter.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||