Package mil.nga.tiff

Enum FieldTagType

    • Method Detail

      • values

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

        public static FieldTagType 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
      • isArray

        public boolean isArray()
        Is this field an array type
        Returns:
        true if array type
      • getId

        public int getId()
        Get the tag id
        Returns:
        tag id
      • getById

        public static FieldTagType getById​(int id)
        Get a field tag type by id
        Parameters:
        id - tag id
        Returns:
        field tag type