Package com.drew.metadata
Class Tag
java.lang.Object
com.drew.metadata.Tag
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
Models a particular tag within a
Directory and provides methods for obtaining its value.
Immutable.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Get a description of the tag's value, considering enumerated values and units.Deprecated.Deprecated.Get the name of the tag, such asAperture, orInteropVersion.intDeprecated.Gets the tag type as an intDeprecated.Gets the tag type in hex notation as a String with padded leading zeroes if necessary (i.e.booleanDeprecated.Get whether this tag has a name.toString()Deprecated.A basic representation of the tag's type and value.
-
Constructor Details
-
Tag
Deprecated.
-
-
Method Details
-
getTagType
public int getTagType()Deprecated.Gets the tag type as an int- Returns:
- the tag type as an int
-
getTagTypeHex
Deprecated.Gets the tag type in hex notation as a String with padded leading zeroes if necessary (i.e.0x100e).- Returns:
- the tag type as a string in hexadecimal notation
-
getDescription
Deprecated.Get a description of the tag's value, considering enumerated values and units.- Returns:
- a description of the tag's value
-
hasTagName
public boolean hasTagName()Deprecated.Get whether this tag has a name. Iftrue, it may be accessed viagetTagName(). Iffalse,getTagName()will return a string resembling"Unknown tag (0x1234)".- Returns:
- whether this tag has a name
-
getTagName
Deprecated.Get the name of the tag, such asAperture, orInteropVersion.- Returns:
- the tag's name
-
getDirectoryName
Deprecated.- Returns:
- name of the
Directoryin which this tag exists
-
toString
Deprecated.A basic representation of the tag's type and value. EG:[Exif IFD0] FNumber - f/2.8.
-