com.compomics.util.io.filefilters
Class PepXmlFileFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by com.compomics.util.io.filefilters.PepXmlFileFilter

public class PepXmlFileFilter
extends javax.swing.filechooser.FileFilter

File filter for *.pep.xml, *.pepxml and *.xml files. Created March 2008

Author:
Harald Barsnes

Constructor Summary
PepXmlFileFilter()
           
 
Method Summary
 boolean accept(java.io.File f)
          Accept all directories, *.pep.xml, *.pepxml and *.xml files.
 java.lang.String getDescription()
          The description of this filter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PepXmlFileFilter

public PepXmlFileFilter()
Method Detail

accept

public boolean accept(java.io.File f)
Accept all directories, *.pep.xml, *.pepxml and *.xml files.

Specified by:
accept in class javax.swing.filechooser.FileFilter
Parameters:
f -
Returns:
boolean

getDescription

public java.lang.String getDescription()
The description of this filter

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


Copyright © 2012. All Rights Reserved.