public class Tag
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Get a description of the tag's value, considering enumerated values
and units.
|
java.lang.String |
getDirectoryName()
Get the name of the directory in which the tag exists, such as
Exif, GPS or Interoperability. |
java.lang.String |
getTagName()
Get the name of the tag, such as
Aperture, or
InteropVersion. |
int |
getTagType()
Gets the tag type as an int
|
java.lang.String |
getTagTypeHex()
Gets the tag type in hex notation as a String with padded leading
zeroes if necessary (i.e.
|
java.lang.String |
toString()
A basic representation of the tag's type and value in format:
FNumber - F2.8. |
public Tag(int tagType, Directory directory)
public int getTagType()
public java.lang.String getTagTypeHex()
0x100E).public java.lang.String getDescription()
throws MetadataException
MetadataExceptionpublic java.lang.String getTagName()
Aperture, or
InteropVersion.public java.lang.String getDirectoryName()
Exif, GPS or Interoperability.public java.lang.String toString()
FNumber - F2.8.toString in class java.lang.ObjectCopyright © 2006 Drew Noakes. All Rights Reserved.