visad.bio
Class SeriesFileFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by visad.bio.SeriesFileFilter
All Implemented Interfaces:
java.io.FilenameFilter

public class SeriesFileFilter
extends javax.swing.filechooser.FileFilter
implements java.io.FilenameFilter

A file filter for identifying data series.


Constructor Summary
SeriesFileFilter()
           
 
Method Summary
 boolean accept(java.io.File f)
          Returns whether the series file filter accepts the given file.
 boolean accept(java.io.File dir, java.lang.String name)
          Returns whether the series file filter accepts the given file.
 java.lang.String getDescription()
          Returns the description of the series file filter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SeriesFileFilter

public SeriesFileFilter()
Method Detail

accept

public boolean accept(java.io.File dir,
                      java.lang.String name)
Returns whether the series file filter accepts the given file.

Specified by:
accept in interface java.io.FilenameFilter

accept

public boolean accept(java.io.File f)
Returns whether the series file filter accepts the given file.

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

getDescription

public java.lang.String getDescription()
Returns the description of the series file filter.

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