com.billpringle.utils
Class CsvFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by com.billpringle.utils.CsvFilter

public class CsvFilter
extends javax.swing.filechooser.FileFilter

This class can be used to add a file filter for CSV files.

Creative Commons License Creative Commons License Symbols Unless noted otherwise, all materials available for download from my site are copyrighted by Bill Pringle, and are licensed under a Creative Commons License.

Author:
Bill Pringle

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

Constructor Detail

CsvFilter

public CsvFilter()
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