Package com.drew.metadata.iptc
Class IptcDescriptor
- java.lang.Object
-
- com.drew.metadata.TagDescriptor<IptcDirectory>
-
- com.drew.metadata.iptc.IptcDescriptor
-
public class IptcDescriptor extends TagDescriptor<IptcDirectory>
Provides human-readable string representations of tag values stored in aIptcDirectory
.As the IPTC directory already stores values as strings, this class simply returns the tag's value.
-
-
Constructor Summary
Constructors Constructor Description IptcDescriptor(IptcDirectory directory)
-
Method Summary
-
Methods inherited from class com.drew.metadata.TagDescriptor
convertBytesToVersionString
-
-
-
-
Constructor Detail
-
IptcDescriptor
public IptcDescriptor(IptcDirectory directory)
-
-
Method Detail
-
getDescription
public java.lang.String getDescription(int tagType)
Description copied from class:TagDescriptor
Returns a descriptive value of the specified tag for this image. Where possible, known values will be substituted here in place of the raw tokens actually kept in the metadata segment. If no substitution is available, the value provided bygetString(tagType)
will be returned.- Overrides:
getDescription
in classTagDescriptor<IptcDirectory>
- 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.
-
getDateDescription
public java.lang.String getDateDescription(int tagType)
-
getTimeDescription
public java.lang.String getTimeDescription(int tagType)
-
getFileFormatDescription
public java.lang.String getFileFormatDescription()
-
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()
-
getDigitalDateCreatedDescription
public java.lang.String getDigitalDateCreatedDescription()
-
getDateSentDescription
public java.lang.String getDateSentDescription()
-
getExpirationDateDescription
public java.lang.String getExpirationDateDescription()
-
getExpirationTimeDescription
public java.lang.String getExpirationTimeDescription()
-
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()
-
getReferenceDateDescription
public java.lang.String getReferenceDateDescription()
-
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()
-
getDigitalTimeCreatedDescription
public java.lang.String getDigitalTimeCreatedDescription()
-
getTimeSentDescription
public java.lang.String getTimeSentDescription()
-
getUrgencyDescription
public java.lang.String getUrgencyDescription()
-
getWriterDescription
public java.lang.String getWriterDescription()
-
-