Package gov.nih.mipav.model.file
Class MetadataExtractor.LeicaMakernoteDescriptor
- java.lang.Object
-
- gov.nih.mipav.model.file.MetadataExtractor.TagDescriptor<MetadataExtractor.LeicaMakernoteDirectory>
-
- gov.nih.mipav.model.file.MetadataExtractor.LeicaMakernoteDescriptor
-
- Enclosing class:
- MetadataExtractor
public class MetadataExtractor.LeicaMakernoteDescriptor extends MetadataExtractor.TagDescriptor<MetadataExtractor.LeicaMakernoteDirectory>
Provides human-readable string representations of tag values stored in aMetadataExtractor.LeicaMakernoteDirectory
.Tag reference from: http://gvsoft.homedns.org/exif/makernote-leica-type1.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 LeicaMakernoteDescriptor(MetadataExtractor.LeicaMakernoteDirectory directory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private java.lang.String
getApproximateFNumberDescription()
private java.lang.String
getCameraTemperatureDescription()
java.lang.String
getDescription(int tagType)
Returns a descriptive value of the specified tag for this image.private java.lang.String
getExternalSensorBrightnessValueDescription()
private java.lang.String
getMeasuredLvDescription()
private java.lang.String
getQualityDescription()
private java.lang.String
getUserProfileDescription()
private 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
-
LeicaMakernoteDescriptor
public LeicaMakernoteDescriptor(MetadataExtractor.LeicaMakernoteDirectory 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.LeicaMakernoteDirectory>
- 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.
-
getCameraTemperatureDescription
private java.lang.String getCameraTemperatureDescription()
-
getApproximateFNumberDescription
private java.lang.String getApproximateFNumberDescription()
-
getMeasuredLvDescription
private java.lang.String getMeasuredLvDescription()
-
getExternalSensorBrightnessValueDescription
private java.lang.String getExternalSensorBrightnessValueDescription()
-
getWhiteBalanceDescription
private java.lang.String getWhiteBalanceDescription()
-
getUserProfileDescription
private java.lang.String getUserProfileDescription()
-
getQualityDescription
private java.lang.String getQualityDescription()
-
-