com.compomics.util.io.filefilters
Class PepXmlFileFilter
java.lang.Object
javax.swing.filechooser.FileFilter
com.compomics.util.io.filefilters.PepXmlFileFilter
public class PepXmlFileFilter
- extends FileFilter
File filter for *.pep.xml, *.pepxml and *.xml files.
Created March 2008
- Author:
- Harald Barsnes
Method Summary |
boolean |
accept(File f)
Accept all directories, *.pep.xml, *.pepxml and *.xml files. |
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 |
PepXmlFileFilter
public PepXmlFileFilter()
accept
public boolean accept(File f)
- Accept all directories, *.pep.xml, *.pepxml and *.xml files.
- Specified by:
accept
in class FileFilter
- Parameters:
f
-
- Returns:
- boolean
getDescription
public String getDescription()
- The description of this filter
- Specified by:
getDescription
in class FileFilter
- Returns:
- String
Copyright © 2011. All Rights Reserved.