Package gov.nih.mipav.model.file
Class MetadataExtractor.LeicaType5MakernoteDescriptor
- java.lang.Object
-
- gov.nih.mipav.model.file.MetadataExtractor.TagDescriptor<MetadataExtractor.LeicaType5MakernoteDirectory>
-
- gov.nih.mipav.model.file.MetadataExtractor.LeicaType5MakernoteDescriptor
-
- Enclosing class:
- MetadataExtractor
public class MetadataExtractor.LeicaType5MakernoteDescriptor extends MetadataExtractor.TagDescriptor<MetadataExtractor.LeicaType5MakernoteDirectory>
Provides human-readable string representations of tag values stored in aMetadataExtractor.LeicaType5MakernoteDirectory
.Tag reference from: http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/Panasonic.html
- Author:
- Kevin Mott https://github.com/kwhopper, Drew Noakes https://drewnoakes.com
-
-
Field Summary
-
Fields inherited from class gov.nih.mipav.model.file.MetadataExtractor.TagDescriptor
_directory
-
-
Constructor Summary
Constructors Constructor Description LeicaType5MakernoteDescriptor(MetadataExtractor.LeicaType5MakernoteDirectory directory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription(int tagType)
Returns a descriptive value of the specified tag for this image.java.lang.String
getExposureModeDescription()
-
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
-
LeicaType5MakernoteDescriptor
public LeicaType5MakernoteDescriptor(MetadataExtractor.LeicaType5MakernoteDirectory 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.LeicaType5MakernoteDirectory>
- 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.
-
getExposureModeDescription
public java.lang.String getExposureModeDescription()
-
-