visad.bio
Class QTFileFilter

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

public class QTFileFilter
extends javax.swing.filechooser.FileFilter
implements java.io.FileFilter

A file filter for finding QTJava.zip, for use with OptionDialog.


Constructor Summary
QTFileFilter(java.lang.String ignore)
          Constructs a new QTJava.zip file filter.
 
Method Summary
 boolean accept(java.io.File f)
          accept files with the proper extensions
 java.lang.String getDescription()
          return the filter's description
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QTFileFilter

public QTFileFilter(java.lang.String ignore)
Constructs a new QTJava.zip file filter.

Method Detail

accept

public boolean accept(java.io.File f)
accept files with the proper extensions

Specified by:
accept in interface java.io.FileFilter
Specified by:
accept in class javax.swing.filechooser.FileFilter

getDescription

public java.lang.String getDescription()
return the filter's description

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