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

Quick Search    Search Deep

com.drew.metadata.iptc
Class IptcDescriptor  view IptcDescriptor download IptcDescriptor.java

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

public class IptcDescriptor
extends com.drew.metadata.TagDescriptor


Field Summary
 
Fields inherited from class com.drew.metadata.TagDescriptor
_directory
 
Constructor Summary
IptcDescriptor(com.drew.metadata.Directory directory)
           
 
Method Summary
 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
 

Constructor Detail

IptcDescriptor

public IptcDescriptor(com.drew.metadata.Directory directory)
Method Detail

getDescription

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