com.mytrendtimer.guitrendtimer
Class GUIQuoteFileFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by 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

Constructor Summary
GUIQuoteFileFilter()
           
 
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
 

Constructor Detail

GUIQuoteFileFilter

public GUIQuoteFileFilter()
Method Detail

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