|
JET | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.filechooser.FileFilter
edu.utep.cs.et.gui.tester.Options.TextFileFilter
private static class Options.TextFileFilter
A file filter class to filter out non-java files.
| Field Summary | |
|---|---|
private static String |
TEXT_EXTENSION
The extension for Java source files. |
| Constructor Summary | |
|---|---|
private |
Options.TextFileFilter()
|
| Method Summary | |
|---|---|
boolean |
accept(File f)
Accept all directories and all Java files. |
String |
getDescription()
Returns the description of this filter. |
private static String |
getExtension(File f)
Returns the extension of the give file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final String TEXT_EXTENSION
| Constructor Detail |
|---|
private Options.TextFileFilter()
| Method Detail |
|---|
public boolean accept(File f)
accept in class FileFilterpublic String getDescription()
getDescription in class FileFilterprivate static String getExtension(File f)
|
JET | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||