Class TLcdGDFDataType

java.lang.Object
com.luciad.format.gdf.TLcdGDFDataType

public class TLcdGDFDataType extends Object
Represents the different data types that are available within GDF data fields.
Since:
5.1
  • Field Details

    • G

      public static final TLcdGDFDataType G
      Data type containing printable characters.
    • A

      public static final TLcdGDFDataType A
      Data type containing only alphabetic characters.
    • N

      public static final TLcdGDFDataType N
      Data type containing only digits.
    • I

      public static final TLcdGDFDataType I
      Data type containing only digits and + or -.
    • AN

      public static final TLcdGDFDataType AN
      Data type containing only alphanumeric characters.
  • Method Details

    • getDataType

      public static TLcdGDFDataType getDataType(String aDataTypeCode)
      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

      public String getCode()
      Returns the GDF code of this data type.
      Returns:
      the GDF code of this data type.
    • getDescription

      public String getDescription()
      Returns the textual description of this data type.
      Returns:
      the textual description of this data type.
    • toString

      public String toString()
      Returns a general description of this data type. The exact details of the representation are unspecified and are subject to change.
      Overrides:
      toString in class Object
      Returns:
      a general description of this data type.