com.compomics.util.io.filefilters
Class MgfFileFilter
java.lang.Object
javax.swing.filechooser.FileFilter
com.compomics.util.io.filefilters.MgfFileFilter
public class MgfFileFilter
- extends FileFilter
File filter for *.mgf files.
Created March 2008
- Author:
- Harald Barsnes
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MgfFileFilter
public MgfFileFilter()
accept
public boolean accept(File f)
- Accept all directories, *.mgf 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.