Enum NetCDFUtilities.FileFormat
- Object
-
- Enum<NetCDFUtilities.FileFormat>
-
- FileFormat
-
- All Implemented Interfaces:
Serializable
,Comparable<NetCDFUtilities.FileFormat>
- Enclosing class:
- NetCDFUtilities
public static enum NetCDFUtilities.FileFormat extends Enum<NetCDFUtilities.FileFormat>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NetCDFUtilities.FileFormat
valueOf(String name)
Returns the enum constant of this type with the specified name.static NetCDFUtilities.FileFormat[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final NetCDFUtilities.FileFormat NONE
-
CDF
public static final NetCDFUtilities.FileFormat CDF
-
HDF5
public static final NetCDFUtilities.FileFormat HDF5
-
GRIB
public static final NetCDFUtilities.FileFormat GRIB
-
NCML
public static final NetCDFUtilities.FileFormat NCML
-
FC
public static final NetCDFUtilities.FileFormat FC
-
-
Method Detail
-
values
public static NetCDFUtilities.FileFormat[] 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 (NetCDFUtilities.FileFormat c : NetCDFUtilities.FileFormat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NetCDFUtilities.FileFormat 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
-
-