com.compomics.util.io.filefilters
Class FileFilterUtils

java.lang.Object
  extended by com.compomics.util.io.filefilters.FileFilterUtils

public class FileFilterUtils
extends Object

Organizes the file filters.

Author:
Harald Barsnes

Field Summary
static String dat
           
static String DAT
           
static String dta
           
static String DTA
           
static String fas
           
static String FAS
           
static String fasta
           
static String FASTA
           
static String gif
           
static String GIF
           
static String jpeg
           
static String JPEG
           
static String jpg
           
static String JPG
           
static String mgf
           
static String MGF
           
static String ms2
           
static String MS2
           
static String mzdata
           
static String mzData
           
static String mzDATA
           
static String MZDATA
           
static String mzml
           
static String mzML
           
static String MZML
           
static String mzxml
           
static String mzXML
           
static String MZXML
           
static String omx
           
static String OMX
           
static String out
           
static String OUT
           
static String pdf
           
static String PDF
           
static String peff
           
static String PEFF
           
static String pep_xml
           
static String PEP_XML
           
static String pepxml
           
static String PEPXML
           
static String pkl
           
static String PKL
           
static String pkx
           
static String PKX
           
static String png
           
static String PNG
           
static String properties
           
static String PROPERTIES
           
static String prot_xml
           
static String PROT_XML
           
static String protxml
           
static String PROTXML
           
static String spo
           
static String SPO
           
static String svg
           
static String SVG
           
static String tiff
           
static String TIFF
           
static String txt
           
static String TXT
           
static String xml
           
static String XML
           
 
Constructor Summary
FileFilterUtils()
           
 
Method Summary
protected static ImageIcon createImageIcon(String path)
          Returns an ImageIcon, or null if the path was invalid.
static String getExtension(File f)
          Get the extension of a file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dat

public static final String dat
See Also:
Constant Field Values

xml

public static final String xml
See Also:
Constant Field Values

mgf

public static final String mgf
See Also:
Constant Field Values

dta

public static final String dta
See Also:
Constant Field Values

pkl

public static final String pkl
See Also:
Constant Field Values

pkx

public static final String pkx
See Also:
Constant Field Values

spo

public static final String spo
See Also:
Constant Field Values

out

public static final String out
See Also:
Constant Field Values

mzXML

public static final String mzXML
See Also:
Constant Field Values

mzxml

public static final String mzxml
See Also:
Constant Field Values

mzML

public static final String mzML
See Also:
Constant Field Values

mzml

public static final String mzml
See Also:
Constant Field Values

mzdata

public static final String mzdata
See Also:
Constant Field Values

mzData

public static final String mzData
See Also:
Constant Field Values

properties

public static final String properties
See Also:
Constant Field Values

prot_xml

public static final String prot_xml
See Also:
Constant Field Values

protxml

public static final String protxml
See Also:
Constant Field Values

pep_xml

public static final String pep_xml
See Also:
Constant Field Values

pepxml

public static final String pepxml
See Also:
Constant Field Values

txt

public static final String txt
See Also:
Constant Field Values

mzDATA

public static final String mzDATA
See Also:
Constant Field Values

omx

public static final String omx
See Also:
Constant Field Values

ms2

public static final String ms2
See Also:
Constant Field Values

gif

public static final String gif
See Also:
Constant Field Values

png

public static final String png
See Also:
Constant Field Values

svg

public static final String svg
See Also:
Constant Field Values

pdf

public static final String pdf
See Also:
Constant Field Values

tiff

public static final String tiff
See Also:
Constant Field Values

jpeg

public static final String jpeg
See Also:
Constant Field Values

jpg

public static final String jpg
See Also:
Constant Field Values

DAT

public static final String DAT
See Also:
Constant Field Values

XML

public static final String XML
See Also:
Constant Field Values

MGF

public static final String MGF
See Also:
Constant Field Values

DTA

public static final String DTA
See Also:
Constant Field Values

PKL

public static final String PKL
See Also:
Constant Field Values

PKX

public static final String PKX
See Also:
Constant Field Values

SPO

public static final String SPO
See Also:
Constant Field Values

OUT

public static final String OUT
See Also:
Constant Field Values

MZXML

public static final String MZXML
See Also:
Constant Field Values

MZML

public static final String MZML
See Also:
Constant Field Values

OMX

public static final String OMX
See Also:
Constant Field Values

MZDATA

public static final String MZDATA
See Also:
Constant Field Values

MS2

public static final String MS2
See Also:
Constant Field Values

PROPERTIES

public static final String PROPERTIES
See Also:
Constant Field Values

PROT_XML

public static final String PROT_XML
See Also:
Constant Field Values

PROTXML

public static final String PROTXML
See Also:
Constant Field Values

PEP_XML

public static final String PEP_XML
See Also:
Constant Field Values

PEPXML

public static final String PEPXML
See Also:
Constant Field Values

TXT

public static final String TXT
See Also:
Constant Field Values

GIF

public static final String GIF
See Also:
Constant Field Values

PNG

public static final String PNG
See Also:
Constant Field Values

SVG

public static final String SVG
See Also:
Constant Field Values

PDF

public static final String PDF
See Also:
Constant Field Values

TIFF

public static final String TIFF
See Also:
Constant Field Values

JPG

public static final String JPG
See Also:
Constant Field Values

JPEG

public static final String JPEG
See Also:
Constant Field Values

FASTA

public static final String FASTA
See Also:
Constant Field Values

fasta

public static final String fasta
See Also:
Constant Field Values

FAS

public static final String FAS
See Also:
Constant Field Values

fas

public static final String fas
See Also:
Constant Field Values

PEFF

public static final String PEFF
See Also:
Constant Field Values

peff

public static final String peff
See Also:
Constant Field Values
Constructor Detail

FileFilterUtils

public FileFilterUtils()
Method Detail

getExtension

public static String getExtension(File f)
Get the extension of a file.

Parameters:
f -
Returns:
String - the extension of the file f

createImageIcon

protected static ImageIcon createImageIcon(String path)
Returns an ImageIcon, or null if the path was invalid.

Parameters:
path -
Returns:
ImageIcon


Copyright © 2012. All Rights Reserved.