Enum Constant and Description |
---|
ASCII |
DOUBLE |
FLOAT |
RATIONAL |
SBYTE |
SLONG |
SRATIONAL |
SSHORT |
UBYTE |
ULONG |
UNDEFINED |
USHORT |
Modifier and Type | Method and Description |
---|---|
static Type |
decode(int type) |
int |
getSizeInBytes() |
int |
getSpecificationTag() |
static Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Type UBYTE
public static final Type ASCII
public static final Type USHORT
public static final Type ULONG
public static final Type RATIONAL
public static final Type SBYTE
public static final Type UNDEFINED
public static final Type SSHORT
public static final Type SLONG
public static final Type SRATIONAL
public static final Type FLOAT
public static final Type DOUBLE
public static Type[] values()
for (Type c : Type.values()) System.out.println(c);
public static Type 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 static Type decode(int type)
public int getSizeInBytes()
public int getSpecificationTag()