edu.iastate.metnet.dataManager
Class FileFilterImpl

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by edu.iastate.metnet.dataManager.FileFilterImpl

public class FileFilterImpl
extends javax.swing.filechooser.FileFilter

File filter class, to ensure that only csv files are visible

Author:
Mohammed Alabsi

Constructor Summary
FileFilterImpl()
           
 
Method Summary
 boolean accept(java.io.File f)
           
 java.lang.String getDescription()
           
 java.lang.String getExtension(java.io.File f)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileFilterImpl

public FileFilterImpl()
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()
Specified by:
getDescription in class javax.swing.filechooser.FileFilter

getExtension

public java.lang.String getExtension(java.io.File f)