Package com.luciad.format.gdf
Class TLcdGDFDataType
java.lang.Object
com.luciad.format.gdf.TLcdGDFDataType
Represents the different data types that are available within GDF data fields.
- Since:
- 5.1
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TLcdGDFDataType
Data type containing only alphabetic characters.static final TLcdGDFDataType
Data type containing only alphanumeric characters.static final TLcdGDFDataType
Data type containing printable characters.static final TLcdGDFDataType
Data type containing only digits and + or -.static final TLcdGDFDataType
Data type containing only digits. -
Method Summary
Modifier and TypeMethodDescriptiongetCode()
Returns the GDF code of this data type.static TLcdGDFDataType
getDataType
(String aDataTypeCode) Returns the data type corresponding to the given data type code, as described in the GDF specification.Returns the textual description of this data type.toString()
Returns a general description of this data type.
-
Field Details
-
G
Data type containing printable characters. -
A
Data type containing only alphabetic characters. -
N
Data type containing only digits. -
I
Data type containing only digits and + or -. -
AN
Data type containing only alphanumeric characters.
-
-
Method Details
-
getDataType
Returns the data type corresponding to the given data type code, as described in the GDF specification.- Parameters:
aDataTypeCode
- the Data Type Code of the data type to be returned.- Returns:
- the data unit with the given Data Type Code.
- Throws:
IllegalArgumentException
- if no data unit exists for the given Data Type Code.
-
getCode
Returns the GDF code of this data type.- Returns:
- the GDF code of this data type.
-
getDescription
Returns the textual description of this data type.- Returns:
- the textual description of this data type.
-
toString
Returns a general description of this data type. The exact details of the representation are unspecified and are subject to change.
-