public static enum TiffFieldEnum.ResolutionUnit extends java.lang.Enum<TiffFieldEnum.ResolutionUnit>
Enum Constant and Description |
---|
RESUNIT_CENTIMETER |
RESUNIT_INCH |
RESUNIT_NONE |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static TiffFieldEnum.ResolutionUnit |
fromValue(int value) |
java.lang.String |
getDescription() |
int |
getValue() |
java.lang.String |
toString() |
static TiffFieldEnum.ResolutionUnit |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TiffFieldEnum.ResolutionUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TiffFieldEnum.ResolutionUnit RESUNIT_NONE
public static final TiffFieldEnum.ResolutionUnit RESUNIT_INCH
public static final TiffFieldEnum.ResolutionUnit RESUNIT_CENTIMETER
public static final TiffFieldEnum.ResolutionUnit UNKNOWN
public static TiffFieldEnum.ResolutionUnit[] values()
for (TiffFieldEnum.ResolutionUnit c : TiffFieldEnum.ResolutionUnit.values()) System.out.println(c);
public static TiffFieldEnum.ResolutionUnit 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 getDescription()
public int getValue()
public java.lang.String toString()
toString
in class java.lang.Enum<TiffFieldEnum.ResolutionUnit>
public static TiffFieldEnum.ResolutionUnit fromValue(int value)