com.drew.metadata.exif

Class NikonType1MakernoteDescriptor

Implemented Interfaces:
Serializable

public class NikonType1MakernoteDescriptor
extends TagDescriptor

Provides human-readable string versions of the tags 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 ................
 

Field Summary

Fields inherited from class com.drew.metadata.TagDescriptor

_directory

Constructor Summary

NikonType1MakernoteDescriptor(Directory 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

getDescription

Constructor Details

NikonType1MakernoteDescriptor

public NikonType1MakernoteDescriptor(Directory directory)

Method Details

getCcdSensitivityDescription

public String getCcdSensitivityDescription()
            throws MetadataException

getColorModeDescription

public String getColorModeDescription()
            throws MetadataException

getConverterDescription

public String getConverterDescription()
            throws MetadataException

getDescription

public String getDescription(int tagType)
            throws MetadataException
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 Exif segment. If no substitution is available, the value provided by getString(int) will be returned.

This and getString(int) are the only 'get' methods that won't throw an exception.

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

getDigitalZoomDescription

public String getDigitalZoomDescription()
            throws MetadataException

getFocusDescription

public String getFocusDescription()
            throws MetadataException

getImageAdjustmentDescription

public String getImageAdjustmentDescription()
            throws MetadataException

getQualityDescription

public String getQualityDescription()
            throws MetadataException

getWhiteBalanceDescription

public String getWhiteBalanceDescription()
            throws MetadataException

Copyright © 2006 Drew Noakes. All Rights Reserved.