Package gov.nih.mipav.model.file
Class MetadataExtractor.PentaxMakernoteDescriptor
- java.lang.Object
-
- gov.nih.mipav.model.file.MetadataExtractor.TagDescriptor<MetadataExtractor.PentaxMakernoteDirectory>
-
- gov.nih.mipav.model.file.MetadataExtractor.PentaxMakernoteDescriptor
-
- Enclosing class:
- MetadataExtractor
public class MetadataExtractor.PentaxMakernoteDescriptor extends MetadataExtractor.TagDescriptor<MetadataExtractor.PentaxMakernoteDirectory>
Provides human-readable string representations of tag values stored in aMetadataExtractor.PentaxMakernoteDirectory
.Some information about this makernote taken from here: http://www.ozhiker.com/electronics/pjmt/jpeg_info/pentax_mn.html
- 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 PentaxMakernoteDescriptor(MetadataExtractor.PentaxMakernoteDirectory directory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCaptureModeDescription()
java.lang.String
getColourDescription()
java.lang.String
getContrastDescription()
java.lang.String
getDescription(int tagType)
Returns a descriptive value of the specified tag for this image.java.lang.String
getDigitalZoomDescription()
java.lang.String
getFlashModeDescription()
java.lang.String
getFocusModeDescription()
java.lang.String
getIsoSpeedDescription()
java.lang.String
getQualityLevelDescription()
java.lang.String
getSaturationDescription()
java.lang.String
getSharpnessDescription()
java.lang.String
getWhiteBalanceDescription()
-
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
-
PentaxMakernoteDescriptor
public PentaxMakernoteDescriptor(MetadataExtractor.PentaxMakernoteDirectory 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.PentaxMakernoteDirectory>
- 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.
-
getColourDescription
public java.lang.String getColourDescription()
-
getIsoSpeedDescription
public java.lang.String getIsoSpeedDescription()
-
getSaturationDescription
public java.lang.String getSaturationDescription()
-
getContrastDescription
public java.lang.String getContrastDescription()
-
getSharpnessDescription
public java.lang.String getSharpnessDescription()
-
getDigitalZoomDescription
public java.lang.String getDigitalZoomDescription()
-
getWhiteBalanceDescription
public java.lang.String getWhiteBalanceDescription()
-
getFlashModeDescription
public java.lang.String getFlashModeDescription()
-
getFocusModeDescription
public java.lang.String getFocusModeDescription()
-
getQualityLevelDescription
public java.lang.String getQualityLevelDescription()
-
getCaptureModeDescription
public java.lang.String getCaptureModeDescription()
-
-