Enum Field.Type

    • Enum Constant Detail

      • UNKNOWN

        public static final Field.Type UNKNOWN
        Unknown field type.
      • SHORT

        public static final Field.Type SHORT
        A 16-bit integer value (Java Short).
      • INTEGER

        public static final Field.Type INTEGER
        A 32-bit integer value (Java Integer).
      • GUID

        public static final Field.Type GUID
        Globally Unique Identifier value (Java UUID).
      • FLOAT

        public static final Field.Type FLOAT
        A single-precision 32-bit floating point value (Java Float).
      • DOUBLE

        public static final Field.Type DOUBLE
        A double-precision 64-bit floating point value (Java Double).
      • DATE

        public static final Field.Type DATE
        A date time value (Java Calendar). Warning: Shapefile formats do not store the time component.
      • TEXT

        public static final Field.Type TEXT
        A string value (Java String).
      • OID

        public static final Field.Type OID
        An object ID value (Java Long).
      • GLOBALID

        public static final Field.Type GLOBALID
        An esri global ID value (Java UUID).
      • BLOB

        public static final Field.Type BLOB
        A binary large object (Java byte array).
      • GEOMETRY

        public static final Field.Type GEOMETRY
        A geometry value.
      • RASTER

        public static final Field.Type RASTER
        A raster value (Java byte array).
      • XML

        public static final Field.Type XML
        An xml value.
    • Method Detail

      • values

        public static Field.Type[] 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 (Field.Type c : Field.Type.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Field.Type 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 name
        NullPointerException - if the argument is null