com.drew.metadata.iptc
Class IptcDescriptor
java.lang.Object
com.drew.metadata.TagDescriptor
com.drew.metadata.iptc.IptcDescriptor
- All Implemented Interfaces:
- java.io.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IptcDescriptor
public IptcDescriptor(Directory directory)
getDescription
public java.lang.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 java.lang.String getByLineDescription()
getByLineTitleDescription
public java.lang.String getByLineTitleDescription()
getCaptionDescription
public java.lang.String getCaptionDescription()
getCategoryDescription
public java.lang.String getCategoryDescription()
getCityDescription
public java.lang.String getCityDescription()
getCopyrightNoticeDescription
public java.lang.String getCopyrightNoticeDescription()
getCountryOrPrimaryLocationDescription
public java.lang.String getCountryOrPrimaryLocationDescription()
getCreditDescription
public java.lang.String getCreditDescription()
getDateCreatedDescription
public java.lang.String getDateCreatedDescription()
getHeadlineDescription
public java.lang.String getHeadlineDescription()
getKeywordsDescription
public java.lang.String getKeywordsDescription()
getObjectNameDescription
public java.lang.String getObjectNameDescription()
getOriginalTransmissionReferenceDescription
public java.lang.String getOriginalTransmissionReferenceDescription()
getOriginatingProgramDescription
public java.lang.String getOriginatingProgramDescription()
getProvinceOrStateDescription
public java.lang.String getProvinceOrStateDescription()
getRecordVersionDescription
public java.lang.String getRecordVersionDescription()
getReleaseDateDescription
public java.lang.String getReleaseDateDescription()
getReleaseTimeDescription
public java.lang.String getReleaseTimeDescription()
getSourceDescription
public java.lang.String getSourceDescription()
getSpecialInstructionsDescription
public java.lang.String getSpecialInstructionsDescription()
getSupplementalCategoriesDescription
public java.lang.String getSupplementalCategoriesDescription()
getTimeCreatedDescription
public java.lang.String getTimeCreatedDescription()
getUrgencyDescription
public java.lang.String getUrgencyDescription()
getWriterDescription
public java.lang.String getWriterDescription()
Copyright © 2006 Drew Noakes. All Rights Reserved.