com.drew.metadata.iptc
Class IptcDescriptor

java.lang.Object
  extended by com.drew.metadata.TagDescriptor
      extended by com.drew.metadata.iptc.IptcDescriptor
All Implemented Interfaces:
Serializable

public class IptcDescriptor
extends TagDescriptor

Provides human-readable string represenations of tag values stored in a IptcDirectory. As the IPTC directory already stores values as strings, this class simply returns the tag's value.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.drew.metadata.TagDescriptor
_directory
 
Constructor Summary
IptcDescriptor(Directory directory)
           
 
Method Summary
 String getByLineDescription()
           
 String getByLineTitleDescription()
           
 String getCaptionDescription()
           
 String getCategoryDescription()
           
 String getCityDescription()
           
 String getCopyrightNoticeDescription()
           
 String getCountryOrPrimaryLocationDescription()
           
 String getCreditDescription()
           
 String getDateCreatedDescription()
           
 String getDescription(int tagType)
          Returns a descriptive value of the the specified tag for this image.
 String getHeadlineDescription()
           
 String getKeywordsDescription()
           
 String getObjectNameDescription()
           
 String getOriginalTransmissionReferenceDescription()
           
 String getOriginatingProgramDescription()
           
 String getProvinceOrStateDescription()
           
 String getRecordVersionDescription()
           
 String getReleaseDateDescription()
           
 String getReleaseTimeDescription()
           
 String getSourceDescription()
           
 String getSpecialInstructionsDescription()
           
 String getSupplementalCategoriesDescription()
           
 String getTimeCreatedDescription()
           
 String getUrgencyDescription()
           
 String getWriterDescription()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IptcDescriptor

public IptcDescriptor(Directory directory)
Method Detail

getDescription

public String getDescription(int tagType)
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
Parameters:
tagType - the tag to find a description for
Returns:
a description of the image's value for the specified tag, or null if the tag hasn't been defined.

getByLineDescription

public String getByLineDescription()

getByLineTitleDescription

public String getByLineTitleDescription()

getCaptionDescription

public String getCaptionDescription()

getCategoryDescription

public String getCategoryDescription()

getCityDescription

public String getCityDescription()

getCopyrightNoticeDescription

public String getCopyrightNoticeDescription()

getCountryOrPrimaryLocationDescription

public String getCountryOrPrimaryLocationDescription()

getCreditDescription

public String getCreditDescription()

getDateCreatedDescription

public String getDateCreatedDescription()

getHeadlineDescription

public String getHeadlineDescription()

getKeywordsDescription

public String getKeywordsDescription()

getObjectNameDescription

public String getObjectNameDescription()

getOriginalTransmissionReferenceDescription

public String getOriginalTransmissionReferenceDescription()

getOriginatingProgramDescription

public String getOriginatingProgramDescription()

getProvinceOrStateDescription

public String getProvinceOrStateDescription()

getRecordVersionDescription

public String getRecordVersionDescription()

getReleaseDateDescription

public String getReleaseDateDescription()

getReleaseTimeDescription

public String getReleaseTimeDescription()

getSourceDescription

public String getSourceDescription()

getSpecialInstructionsDescription

public String getSpecialInstructionsDescription()

getSupplementalCategoriesDescription

public String getSupplementalCategoriesDescription()

getTimeCreatedDescription

public String getTimeCreatedDescription()

getUrgencyDescription

public String getUrgencyDescription()

getWriterDescription

public String getWriterDescription()