Class NikonType1MakernoteDescriptor
- java.lang.Object
-
- com.drew.metadata.TagDescriptor<NikonType1MakernoteDirectory>
-
- com.drew.metadata.exif.makernotes.NikonType1MakernoteDescriptor
-
public class NikonType1MakernoteDescriptor extends TagDescriptor<NikonType1MakernoteDirectory>
Provides human-readable string representations of tag values stored in aNikonType1MakernoteDirectory.Type-1 is for E-Series cameras prior to (not including) E990. For example: E700, E800, E900, E900S, E910, E950.
Makernote starts from ASCII string "Nikon". Data format is the same as IFD, but it starts from offset 0x08. This is the same as Olympus except start string. Example of actual data structure is shown below.
:0000: 4E 69 6B 6F 6E 00 01 00-05 00 02 00 02 00 06 00 Nikon........... :0010: 00 00 EC 02 00 00 03 00-03 00 01 00 00 00 06 00 ................
-
-
Field Summary
-
Fields inherited from class com.drew.metadata.TagDescriptor
_directory
-
-
Constructor Summary
Constructors Constructor Description NikonType1MakernoteDescriptor(NikonType1MakernoteDirectory directory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCcdSensitivityDescription()java.lang.StringgetColorModeDescription()java.lang.StringgetConverterDescription()java.lang.StringgetDescription(int tagType)Returns a descriptive value of the specified tag for this image.java.lang.StringgetDigitalZoomDescription()java.lang.StringgetFocusDescription()java.lang.StringgetImageAdjustmentDescription()java.lang.StringgetQualityDescription()java.lang.StringgetWhiteBalanceDescription()-
Methods inherited from class com.drew.metadata.TagDescriptor
convertBytesToVersionString, get7BitStringFromBytes, getBitFlagDescription, getByteLengthDescription, getDecimalRational, getEncodedTextDescription, getEpochTimeDescription, getFocalLengthDescription, getFormattedFloat, getFormattedInt, getFormattedString, getFStopDescription, getIndexedDescription, getIndexedDescription, getLensSpecificationDescription, getOrientationDescription, getRationalOrDoubleString, getShutterSpeedDescription, getSimpleRational, getStringFromBytes, getVersionBytesDescription
-
-
-
-
Constructor Detail
-
NikonType1MakernoteDescriptor
public NikonType1MakernoteDescriptor(NikonType1MakernoteDirectory directory)
-
-
Method Detail
-
getDescription
public java.lang.String getDescription(int tagType)
Description copied from class:TagDescriptorReturns 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:
getDescriptionin classTagDescriptor<NikonType1MakernoteDirectory>- Parameters:
tagType- the tag to find a description for- Returns:
- a description of the image's value for the specified tag, or
nullif the tag hasn't been defined.
-
getConverterDescription
public java.lang.String getConverterDescription()
-
getDigitalZoomDescription
public java.lang.String getDigitalZoomDescription()
-
getFocusDescription
public java.lang.String getFocusDescription()
-
getWhiteBalanceDescription
public java.lang.String getWhiteBalanceDescription()
-
getCcdSensitivityDescription
public java.lang.String getCcdSensitivityDescription()
-
getImageAdjustmentDescription
public java.lang.String getImageAdjustmentDescription()
-
getColorModeDescription
public java.lang.String getColorModeDescription()
-
getQualityDescription
public java.lang.String getQualityDescription()
-
-