public enum InteropTag extends java.lang.Enum<InteropTag> implements Tag
Enum Constant and Description |
---|
INTEROPERABILITY_INDEX |
INTEROPERABILITY_VERSION |
RELATED_IMAGE_FILE_FORMAT |
RELATED_IMAGE_LENGTH |
RELATED_IMAGE_WIDTH |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static Tag |
fromShort(short value) |
java.lang.String |
getFieldAsString(java.lang.Object value)
Intended to be overridden by certain tags to provide meaningful string
representation of the field value such as compression, photo metric interpretation etc.
|
FieldType |
getFieldType() |
java.lang.String |
getName() |
short |
getValue() |
boolean |
isCritical() |
java.lang.String |
toString() |
static InteropTag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InteropTag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InteropTag INTEROPERABILITY_INDEX
public static final InteropTag INTEROPERABILITY_VERSION
public static final InteropTag RELATED_IMAGE_FILE_FORMAT
public static final InteropTag RELATED_IMAGE_WIDTH
public static final InteropTag RELATED_IMAGE_LENGTH
public static final InteropTag UNKNOWN
public static InteropTag[] values()
for (InteropTag c : InteropTag.values()) System.out.println(c);
public static InteropTag 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 toString()
toString
in class java.lang.Enum<InteropTag>
public static Tag fromShort(short value)
public java.lang.String getFieldAsString(java.lang.Object value)
getFieldAsString
in interface Tag
value
- field value to be mapped to a stringpublic boolean isCritical()
isCritical
in interface Tag
public FieldType getFieldType()
getFieldType
in interface Tag