|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.drew.metadata.Tag
public class Tag
Models a particular tag within a directory and provides methods for obtaining its value. Note that a Tag isntance is specific to a particular metadata extraction and cannot be reused.
| Field Summary | |
|---|---|
private Directory |
_directory
|
private int |
_tagType
|
| Constructor Summary | |
|---|---|
Tag(int tagType,
Directory directory)
|
|
| Method Summary | |
|---|---|
String |
getDescription()
Get a description of the tag's value, considering enumerated values and units. |
String |
getDirectoryName()
Get the name of the directory in which the tag exists, such as Exif, GPS or Interoperability. |
String |
getTagName()
Get the name of the tag, such as Aperture, or
InteropVersion. |
int |
getTagType()
Gets the tag type as an int |
String |
getTagTypeHex()
Gets the tag type in hex notation as a String with padded leading zeroes if necessary (i.e. |
String |
toString()
A basic representation of the tag's type and value in format: FNumber - F2.8. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private final int _tagType
private final Directory _directory
| Constructor Detail |
|---|
public Tag(int tagType,
Directory directory)
| Method Detail |
|---|
public int getTagType()
public String getTagTypeHex()
0x100E).
public String getDescription()
throws MetadataException
MetadataExceptionpublic String getTagName()
Aperture, or
InteropVersion.
public String getDirectoryName()
Exif, GPS or Interoperability.
public String toString()
FNumber - F2.8.
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||