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 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 String getDateDescription(int tagType)
-
getTimeDescription
public String getTimeDescription(int tagType)
-
getFileFormatDescription
public String getFileFormatDescription()
-
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()
-
getDigitalDateCreatedDescription
public String getDigitalDateCreatedDescription()
-
getDateSentDescription
public String getDateSentDescription()
-
getExpirationDateDescription
public String getExpirationDateDescription()
-
getExpirationTimeDescription
public String getExpirationTimeDescription()
-
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()
-
getReferenceDateDescription
public String getReferenceDateDescription()
-
getReleaseDateDescription
public String getReleaseDateDescription()
-
getReleaseTimeDescription
public String getReleaseTimeDescription()
-
getSourceDescription
public String getSourceDescription()
-
getSpecialInstructionsDescription
public String getSpecialInstructionsDescription()
-
getSupplementalCategoriesDescription
public String getSupplementalCategoriesDescription()
-
getTimeCreatedDescription
public String getTimeCreatedDescription()
-
getDigitalTimeCreatedDescription
public String getDigitalTimeCreatedDescription()
-
getTimeSentDescription
public String getTimeSentDescription()
-
getUrgencyDescription
public String getUrgencyDescription()
-
getWriterDescription
public String getWriterDescription()
-
-