Package gov.nih.mipav.model.file
Class MetadataExtractor.IptcDescriptor
- java.lang.Object
-
- gov.nih.mipav.model.file.MetadataExtractor.TagDescriptor<MetadataExtractor.IptcDirectory>
-
- gov.nih.mipav.model.file.MetadataExtractor.IptcDescriptor
-
- Enclosing class:
- MetadataExtractor
public class MetadataExtractor.IptcDescriptor extends MetadataExtractor.TagDescriptor<MetadataExtractor.IptcDirectory>
Provides human-readable string representations of tag values stored in aMetadataExtractor.IptcDirectory
.As the IPTC directory already stores values as strings, this class simply returns the tag's value.
- Author:
- Drew Noakes https://drewnoakes.com
-
-
Field Summary
-
Fields inherited from class gov.nih.mipav.model.file.MetadataExtractor.TagDescriptor
_directory
-
-
Constructor Summary
Constructors Constructor Description IptcDescriptor(MetadataExtractor.IptcDirectory directory)
-
Method Summary
-
Methods inherited from class gov.nih.mipav.model.file.MetadataExtractor.TagDescriptor
convertBytesToVersionString, get7BitStringFromBytes, getBitFlagDescription, getByteLengthDescription, getDecimalRational, getEncodedTextDescription, getEpochTimeDescription, getFocalLengthDescription, getFormattedFloat, getFormattedInt, getFormattedString, getFStopDescription, getIndexedDescription, getIndexedDescription, getLensSpecificationDescription, getOrientationDescription, getRationalOrDoubleString, getShutterSpeedDescription, getSimpleRational, getStringFromBytes, getVersionBytesDescription
-
-
-
-
Constructor Detail
-
IptcDescriptor
public IptcDescriptor(MetadataExtractor.IptcDirectory directory)
-
-
Method Detail
-
getDescription
public java.lang.String getDescription(int tagType)
Description copied from class:MetadataExtractor.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 classMetadataExtractor.TagDescriptor<MetadataExtractor.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()
-
-