Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.drew.metadata
Class Tag  view Tag download Tag.java

java.lang.Object
  extended bycom.drew.metadata.Tag
All Implemented Interfaces:
java.io.Serializable

public class Tag
extends java.lang.Object
implements java.io.Serializable


Field Summary
private  Directory _directory
           
private  int _tagType
           
 
Constructor Summary
Tag(int tagType, Directory directory)
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_tagType

private final int _tagType

_directory

private final Directory _directory
Constructor Detail

Tag

public Tag(int tagType,
           Directory directory)
Method Detail

getTagType

public int getTagType()
Gets the tag type as an int


getTagTypeHex

public java.lang.String getTagTypeHex()
Gets the tag type in hex notation as a String with padded leading zeroes if necessary (i.e. 0x100E).


getDescription

public java.lang.String getDescription()
                                throws MetadataException
Get a description of the tag's value, considering enumerated values and units.


getTagName

public java.lang.String getTagName()
Get the name of the tag, such as Aperture, or InteropVersion.


getDirectoryName

public java.lang.String getDirectoryName()
Get the name of the directory in which the tag exists, such as Exif, GPS or Interoperability.


toString

public java.lang.String toString()
A basic representation of the tag's type and value in format: FNumber - F2.8.