com.compomics.util.io.filefilters
Class OmxFileFilter

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

public class OmxFileFilter
extends FileFilter

File filter for *.omx files.

Author:
Harald Barsnes

Constructor Summary
OmxFileFilter()
           
 
Method Summary
 boolean accept(File f)
          Accept all directories, *.omx 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
 

Constructor Detail

OmxFileFilter

public OmxFileFilter()
Method Detail

accept

public boolean accept(File f)
Accept all directories, *.omx 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 © 2012. All Rights Reserved.