com.drew.metadata.exif
Class NikonType1MakernoteDescriptor

java.lang.Object
  extended by com.drew.metadata.TagDescriptor<NikonType1MakernoteDirectory>
      extended by com.drew.metadata.exif.NikonType1MakernoteDescriptor

public class NikonType1MakernoteDescriptor
extends TagDescriptor<NikonType1MakernoteDirectory>

Provides human-readable string representations of tag values stored in a NikonType1MakernoteDirectory.

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 ................
 

Author:
Drew Noakes http://drewnoakes.com

Field Summary
 
Fields inherited from class com.drew.metadata.TagDescriptor
_directory
 
Constructor Summary
NikonType1MakernoteDescriptor(NikonType1MakernoteDirectory directory)
           
 
Method Summary
 String getCcdSensitivityDescription()
           
 String getColorModeDescription()
           
 String getConverterDescription()
           
 String getDescription(int tagType)
          Returns a descriptive value of the the specified tag for this image.
 String getDigitalZoomDescription()
           
 String getFocusDescription()
           
 String getImageAdjustmentDescription()
           
 String getQualityDescription()
           
 String getWhiteBalanceDescription()
           
 
Methods inherited from class com.drew.metadata.TagDescriptor
convertBytesToVersionString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NikonType1MakernoteDescriptor

public NikonType1MakernoteDescriptor(NikonType1MakernoteDirectory directory)
Method Detail

getDescription

public String getDescription(int tagType)
Description copied from class: TagDescriptor
Returns a descriptive value of the 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 by getString(tagType) will be returned.

Overrides:
getDescription in class TagDescriptor<NikonType1MakernoteDirectory>
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.

getConverterDescription

public String getConverterDescription()

getDigitalZoomDescription

public String getDigitalZoomDescription()

getFocusDescription

public String getFocusDescription()

getWhiteBalanceDescription

public String getWhiteBalanceDescription()

getCcdSensitivityDescription

public String getCcdSensitivityDescription()

getImageAdjustmentDescription

public String getImageAdjustmentDescription()

getColorModeDescription

public String getColorModeDescription()

getQualityDescription

public String getQualityDescription()


Copyright © 2012. All Rights Reserved.