com.compomics.util.io.filefilters
Class ProtXmlFileFilter
java.lang.Object
javax.swing.filechooser.FileFilter
com.compomics.util.io.filefilters.ProtXmlFileFilter
public class ProtXmlFileFilter
- extends FileFilter
File filter for *.prot.xml, *.protxml and *.xml files.
Created March 2008
- Author:
- Harald Barsnes
Method Summary |
boolean |
accept(File f)
Accept all directories, *.prot.xml, *.protxml 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 |
ProtXmlFileFilter
public ProtXmlFileFilter()
accept
public boolean accept(File f)
- Accept all directories, *.prot.xml, *.protxml 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.