com.mytrendtimer.guitrendtimer
Class GUIQuoteFileFilter
java.lang.Object
javax.swing.filechooser.FileFilter
com.mytrendtimer.guitrendtimer.GUIQuoteFileFilter
public class GUIQuoteFileFilter
- extends javax.swing.filechooser.FileFilter
GUIQuoteFileFilter is used when GUIMenu does a File/Open file chooser
Goal is to filter only some quote files.
- Version:
- v0.5
- Author:
- FRM
|
Method Summary |
boolean |
accept(java.io.File f)
|
java.lang.String |
getDescription()
What is shown in the choose dialog box as a filter |
static java.lang.String |
getExtension(java.io.File f)
Get the extension of a file |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GUIQuoteFileFilter
public GUIQuoteFileFilter()
accept
public boolean accept(java.io.File f)
- Specified by:
accept in class javax.swing.filechooser.FileFilter
getDescription
public java.lang.String getDescription()
- What is shown in the choose dialog box as a filter
- Specified by:
getDescription in class javax.swing.filechooser.FileFilter
getExtension
public static java.lang.String getExtension(java.io.File f)
- Get the extension of a file