Class ProtXmlFileFilter
java.lang.Object
javax.swing.filechooser.FileFilter
com.compomics.util.io.file.filefilters.ProtXmlFileFilter
public class ProtXmlFileFilter extends FileFilter
File filter for *.prot.xml, *.protxml and *.xml files.
- Author:
- Harald Barsnes
-
Constructor Summary
Constructors Constructor Description ProtXmlFileFilter()
Empty default constructor -
Method Summary
Modifier and Type Method Description boolean
accept(File f)
Accept all directories, *.prot.xml, *.protxml and *.xml files.String
getDescription()
The description of the filter.
-
Constructor Details
-
ProtXmlFileFilter
public ProtXmlFileFilter()Empty default constructor
-
-
Method Details
-
accept
Accept all directories, *.prot.xml, *.protxml and *.xml files.- Specified by:
accept
in classFileFilter
- Parameters:
f
- the file- Returns:
- true if the file passes the filter
-
getDescription
The description of the filter.- Specified by:
getDescription
in classFileFilter
- Returns:
- String the description of the filter
-