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

Quick Search    Search Deep

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

java.lang.Object
  extended bycom.drew.metadata.TagDescriptor
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DefaultTagDescriptor

public abstract class TagDescriptor
extends java.lang.Object
implements java.io.Serializable


Field Summary
protected  Directory _directory
           
 
Constructor Summary
TagDescriptor(Directory directory)
           
 
Method Summary
abstract  java.lang.String getDescription(int tagType)
          Returns a descriptive value of the the specified tag for this image.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_directory

protected final Directory _directory
Constructor Detail

TagDescriptor

public TagDescriptor(Directory directory)
Method Detail

getDescription

public abstract java.lang.String getDescription(int tagType)
                                         throws MetadataException
Returns a descriptive value of the the specified tag for this image. Where possible, known values will be substituted here in place of the raw tokens actually kept in the Exif segment. If no substitution is available, the value provided by getString(int) will be returned.

This and getString(int) are the only 'get' methods that won't throw an exception.