sonification.dataimport.visbards_resourcetoolkit.util
Class ExtFileFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by sonification.dataimport.visbards_resourcetoolkit.util.ExtFileFilter

public class ExtFileFilter
extends javax.swing.filechooser.FileFilter

An implementation of a FileFilter that allows only ascii files


Constructor Summary
ExtFileFilter(java.lang.String title)
           
 
Method Summary
 boolean accept(java.io.File file)
          Returns true for any input file whose name matches "*.ce".
 void addExt(java.lang.String ext)
           
 java.lang.String getDescription()
          Returns a description of this file filter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtFileFilter

public ExtFileFilter(java.lang.String title)
Method Detail

addExt

public void addExt(java.lang.String ext)

accept

public boolean accept(java.io.File file)
Returns true for any input file whose name matches "*.ce".

Specified by:
accept in class javax.swing.filechooser.FileFilter

getDescription

public java.lang.String getDescription()
Returns a description of this file filter.

Specified by:
getDescription in class javax.swing.filechooser.FileFilter