com.drew.metadata.exif
Class NikonType2MakernoteDescriptor

java.lang.Object
  extended by com.drew.metadata.TagDescriptor
      extended by com.drew.metadata.exif.NikonType2MakernoteDescriptor
All Implemented Interfaces:
java.io.Serializable

public class NikonType2MakernoteDescriptor
extends TagDescriptor

Provides human-readable string versions of the tags stored in a NikonType2MakernoteDirectory. Type-2 applies to the E990 and D-series cameras such as the D1, D70 and D100.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.drew.metadata.TagDescriptor
_directory
 
Constructor Summary
NikonType2MakernoteDescriptor(Directory directory)
           
 
Method Summary
 java.lang.String getAutoFirmwareVersionDescription()
           
 java.lang.String getAutoFlashCompensationDescription()
           
 java.lang.String getAutoFocusPositionDescription()
           
 java.lang.String getColorModeDescription()
           
 java.lang.String getDescription(int tagType)
          Returns a descriptive value of the the specified tag for this image.
 java.lang.String getDigitalZoomDescription()
           
 java.lang.String getHueAdjustmentDescription()
           
 java.lang.String getIsoSettingDescription()
           
 java.lang.String getLensDescription()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NikonType2MakernoteDescriptor

public NikonType2MakernoteDescriptor(Directory directory)
Method Detail

getDescription

public java.lang.String getDescription(int tagType)
                                throws MetadataException
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 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.

Specified by:
getDescription in class 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.
Throws:
MetadataException

getAutoFocusPositionDescription

public java.lang.String getAutoFocusPositionDescription()
                                                 throws MetadataException
Throws:
MetadataException

getDigitalZoomDescription

public java.lang.String getDigitalZoomDescription()
                                           throws MetadataException
Throws:
MetadataException

getIsoSettingDescription

public java.lang.String getIsoSettingDescription()
                                          throws MetadataException
Throws:
MetadataException

getAutoFlashCompensationDescription

public java.lang.String getAutoFlashCompensationDescription()
                                                     throws MetadataException
Throws:
MetadataException

getLensDescription

public java.lang.String getLensDescription()
                                    throws MetadataException
Throws:
MetadataException

getHueAdjustmentDescription

public java.lang.String getHueAdjustmentDescription()

getColorModeDescription

public java.lang.String getColorModeDescription()

getAutoFirmwareVersionDescription

public java.lang.String getAutoFirmwareVersionDescription()
                                                   throws MetadataException
Throws:
MetadataException


Copyright © 2006 Drew Noakes. All Rights Reserved.