public enum TiffTagType extends Enum<TiffTagType> implements IEnumValue
Represents the IFD data type.
Enum Constant and Description |
---|
Ascii
An 8-bit byte with a 7-bit ASCII character.
|
Byte
An 8-bit unsigned integer.
|
Double
An 8-byte IEEE floating point value.
|
Float
A 4-byte IEEE floating point value.
|
Long
A 32-bit unsigned integer.
|
Rational
A pair of LONGs, numerator then denominator.
|
SByte
An 8-bit signed integer.
|
Short
A 16-bit unsigned integer.
|
SLong
A 32-bit signed integer.
|
SRational
A pair of SLONGs, numerator then denominator.
|
SShort
A 16-bit signed integer.
|
SubIfd
A 4-byte long offset value
|
Undefined
An undefined 8-bit byte.
|
Modifier and Type | Method and Description |
---|---|
Object[] |
getAllValues()
Returns the array of all values defined in the class.
|
static TiffTagType |
getByRawValue(int rawValue) |
IEnumValue |
getEnumValueByName(String name)
Returns the enumeration value by its name.
|
IEnumValue |
getEnumValueByRawValue(int rawValue)
Returns the enumeration value by the raw value associated with it.
|
static IEnumValue |
getFirst() |
int |
getRawValue()
Returns the raw value of this enumeration value.
|
RawIntegerType |
getRawValueType()
Returns the underlying type of the raw value of this enumeration value.
|
static TiffTagType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TiffTagType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
name
public static final TiffTagType Byte
An 8-bit unsigned integer.
public static final TiffTagType Ascii
An 8-bit byte with a 7-bit ASCII character.
public static final TiffTagType Short
A 16-bit unsigned integer.
public static final TiffTagType Long
A 32-bit unsigned integer.
public static final TiffTagType Rational
A pair of LONGs, numerator then denominator.
public static final TiffTagType SByte
An 8-bit signed integer.
public static final TiffTagType Undefined
An undefined 8-bit byte.
public static final TiffTagType SShort
A 16-bit signed integer.
public static final TiffTagType SLong
A 32-bit signed integer.
public static final TiffTagType SRational
A pair of SLONGs, numerator then denominator.
public static final TiffTagType Float
A 4-byte IEEE floating point value.
public static final TiffTagType Double
An 8-byte IEEE floating point value.
public static final TiffTagType SubIfd
A 4-byte long offset value
public static TiffTagType[] values()
for (TiffTagType c : TiffTagType.values()) System.out.println(c);
public static TiffTagType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static TiffTagType getByRawValue(int rawValue)
public static IEnumValue getFirst()
public Object[] getAllValues()
IEnumValue
Returns the array of all values defined in the class.
getAllValues
in interface IEnumValue
public IEnumValue getEnumValueByRawValue(int rawValue)
IEnumValue
Returns the enumeration value by the raw value associated with it.
getEnumValueByRawValue
in interface IEnumValue
rawValue
- The raw value.public IEnumValue getEnumValueByName(String name)
IEnumValue
Returns the enumeration value by its name.
getEnumValueByName
in interface IEnumValue
name
- The name of the enumeration value.public RawIntegerType getRawValueType()
IEnumValue
Returns the underlying type of the raw value of this enumeration value.
getRawValueType
in interface IEnumValue
public int getRawValue()
IEnumValue
Returns the raw value of this enumeration value.
getRawValue
in interface IEnumValue