Enum Constant and Description |
---|
ASCII |
BYTE |
DOUBLE |
FLOAT |
IFD |
LONG |
RATIONAL |
SBYTE |
SHORT |
SLONG |
SRATIONAL |
SSHORT |
UNDEFINED |
UNKNOWN |
WINDOWSXP |
Modifier and Type | Method and Description |
---|---|
static TiffField<?> |
createField(Tag tag,
FieldType type,
java.lang.Object data) |
static FieldType |
fromShort(short value) |
java.lang.String |
getName() |
short |
getValue() |
java.lang.String |
toString() |
static boolean |
validateData(FieldType type,
java.lang.Object data) |
static FieldType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FieldType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FieldType BYTE
public static final FieldType ASCII
public static final FieldType SHORT
public static final FieldType LONG
public static final FieldType RATIONAL
public static final FieldType SBYTE
public static final FieldType UNDEFINED
public static final FieldType SSHORT
public static final FieldType SLONG
public static final FieldType SRATIONAL
public static final FieldType FLOAT
public static final FieldType DOUBLE
public static final FieldType IFD
public static final FieldType WINDOWSXP
public static final FieldType UNKNOWN
public static FieldType[] values()
for (FieldType c : FieldType.values()) System.out.println(c);
public static FieldType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getName()
public short getValue()
public java.lang.String toString()
toString
in class java.lang.Enum<FieldType>
public static FieldType fromShort(short value)
public static boolean validateData(FieldType type, java.lang.Object data)