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

Quick Search    Search Deep

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

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

public class DefaultTagDescriptor
extends TagDescriptor


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

Constructor Detail

DefaultTagDescriptor

public DefaultTagDescriptor(Directory directory)
Method Detail

getTagName

public java.lang.String getTagName(int tagType)

getDescription

public java.lang.String getDescription(int tagType)
                                throws MetadataException
Description copied from class: TagDescriptor
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.

Specified by:
getDescription in class TagDescriptor