org.strbio.mol.lib
Class ProteinFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by org.strbio.mol.lib.ProteinFilter

public class ProteinFilter
extends javax.swing.filechooser.FileFilter

A file filter for returning likely protein formats. Sun moved filechooser stuff out of the preview package with Swing 1.1 / JDK 1.2, so this should be used for newer apps.

  Version 1.3, 7/27/99 - made case insensitive.
  Version 1.2, 3/22/99 - added more formats
  Version 1.1, 8/18/98 - Sun changed FileFilter's location.
  Version 1.0, 6/16/98 - original version
  

Version:
1.3, 7/27/99
Author:
JMC

Constructor Summary
ProteinFilter()
           
 
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

ProteinFilter

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