application
Class HandlerMenu.CsvFileFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by application.HandlerMenu.CsvFileFilter
Enclosing class:
HandlerMenu

public class HandlerMenu.CsvFileFilter
extends javax.swing.filechooser.FileFilter

Inner class to filter filenames


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

Constructor Detail

HandlerMenu.CsvFileFilter

public HandlerMenu.CsvFileFilter()
Method Detail

accept

public boolean accept(java.io.File pathname)
Specified by:
accept in class javax.swing.filechooser.FileFilter
Parameters:
pathname -
Returns:
true if the path is to a folder or a .csv file

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in class javax.swing.filechooser.FileFilter
Returns:
a description of this filter