Package ucar.nc2.constants
Enum DataFormatType
- java.lang.Object
-
- java.lang.Enum<DataFormatType>
-
- ucar.nc2.constants.DataFormatType
-
- All Implemented Interfaces:
Serializable
,Comparable<DataFormatType>
public enum DataFormatType extends Enum<DataFormatType>
Redo thredds.catalog.DataFormatType as enum in order to break dependency of ucar.nc2 on server catalog
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
static DataFormatType
getType(String name)
case insensitive name lookup.static DataFormatType
valueOf(String name)
Returns the enum constant of this type with the specified name.static DataFormatType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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
-
MCIDAS_AREA
public static final DataFormatType MCIDAS_AREA
-
NCML
public static final DataFormatType NCML
-
NETCDF
public static final DataFormatType NETCDF
-
NETCDF4
public static final DataFormatType NETCDF4
-
NEXRAD2
public static final DataFormatType NEXRAD2
-
NIDS
public static final DataFormatType NIDS
-
GIF
public static final DataFormatType GIF
-
JPEG
public static final DataFormatType JPEG
-
TIFF
public static final DataFormatType TIFF
-
CSV
public static final DataFormatType CSV
-
HTML
public static final DataFormatType HTML
-
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
-
-
Method Detail
-
values
public static DataFormatType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DataFormatType c : DataFormatType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataFormatType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getType
@Nullable public static DataFormatType getType(String name)
case insensitive name lookup.
-
getDescription
@Nullable public String getDescription()
-
-