thredds.catalog
Class DataFormatType

java.lang.Object
  extended by thredds.catalog.DataFormatType

public final class DataFormatType
extends java.lang.Object

Type-safe enumeration of THREDDS data format types.

Version:
$Revision: 48 $ $Date: 2006-07-12 16:15:40Z $
Author:
john caron

Field Summary
static DataFormatType BUFR
           
static DataFormatType ESML
           
static DataFormatType GEMPAK
           
static DataFormatType GIF
           
static DataFormatType GINI
           
static DataFormatType GRIB1
           
static DataFormatType GRIB2
           
static DataFormatType HDF4
           
static DataFormatType HDF5
           
static DataFormatType HTML
           
static DataFormatType JPEG
           
static DataFormatType MCIDAS_AREA
           
static DataFormatType MPEG
           
static DataFormatType NCML
           
static DataFormatType NETCDF
           
static DataFormatType NEXRAD2
           
static DataFormatType NIDS
           
static DataFormatType NONE
           
static DataFormatType OTHER_UNKNOWN
           
static DataFormatType PLAIN
           
static DataFormatType QUICKTIME
           
static DataFormatType REALTIME
           
static DataFormatType TIFF
           
static DataFormatType TSV
           
static DataFormatType XML
           
 
Constructor Summary
DataFormatType(java.lang.String s)
           
 
Method Summary
 boolean equals(java.lang.Object o)
          DataFormatType with same name are equal.
static java.util.Collection getAllTypes()
          Return all DataFormatType objects
static DataFormatType getType(java.lang.String name)
          Find the DataFormatType that matches this name, ignore case.
 int hashCode()
          Override Object.hashCode() to be consistent with this equals.
 java.lang.String toString()
          Return the DataFormatType name.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final DataFormatType NONE

BUFR

public static final DataFormatType BUFR

ESML

public static final DataFormatType ESML

GEMPAK

public static final DataFormatType GEMPAK

GINI

public static final DataFormatType GINI

GRIB1

public static final DataFormatType GRIB1

GRIB2

public static final DataFormatType GRIB2

HDF4

public static final DataFormatType HDF4

HDF5

public static final DataFormatType HDF5

HTML

public static final DataFormatType HTML

GIF

public static final DataFormatType GIF

JPEG

public static final DataFormatType JPEG

TIFF

public static final DataFormatType TIFF

MCIDAS_AREA

public static final DataFormatType MCIDAS_AREA

NETCDF

public static final DataFormatType NETCDF

NEXRAD2

public static final DataFormatType NEXRAD2

NCML

public static final DataFormatType NCML

NIDS

public static final DataFormatType NIDS

PLAIN

public static final DataFormatType PLAIN

TSV

public static final DataFormatType TSV

XML

public static final DataFormatType XML

MPEG

public static final DataFormatType MPEG

QUICKTIME

public static final DataFormatType QUICKTIME

REALTIME

public static final DataFormatType REALTIME

OTHER_UNKNOWN

public static final DataFormatType OTHER_UNKNOWN
Constructor Detail

DataFormatType

public DataFormatType(java.lang.String s)
Method Detail

getAllTypes

public static java.util.Collection getAllTypes()
Return all DataFormatType objects


getType

public static DataFormatType getType(java.lang.String name)
Find the DataFormatType that matches this name, ignore case.

Parameters:
name - : match this name
Returns:
DataFormatType or null if no match.

toString

public java.lang.String toString()
Return the DataFormatType name.

Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Override Object.hashCode() to be consistent with this equals.

Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
DataFormatType with same name are equal.

Overrides:
equals in class java.lang.Object