Enum NTv2.Loader.DataType
java.lang.Object
java.lang.Enum<NTv2.Loader.DataType>
org.apache.sis.internal.referencing.provider.NTv2.Loader.DataType
- All Implemented Interfaces:
Serializable
,Comparable<NTv2.Loader.DataType>
,java.lang.constant.Constable
- Enclosing class:
NTv2.Loader
Type of data allowed in header records. Each record header identified by a key contains a value
of a type hard-coded by the NTv2 specification; the type is not specified in the file itself.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic NTv2.Loader.DataType
Returns the enum constant of this type with the specified name.static NTv2.Loader.DataType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STRING
-
INTEGER
-
DOUBLE
-
-
Constructor Details
-
DataType
private DataType()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-