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:
Serializable

public class NikonType2MakernoteDescriptor
extends TagDescriptor

Provides human-readable string represenations of tag values 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
 String getAutoFirmwareVersionDescription()
           
 String getAutoFlashCompensationDescription()
           
 String getAutoFocusPositionDescription()
           
 String getColorModeDescription()
           
 String getDescription(int tagType)
          Returns a descriptive value of the the specified tag for this image.
 String getDigitalZoomDescription()
           
 String getHueAdjustmentDescription()
           
 String getIsoSettingDescription()
           
 String getLensDescription()
           
private  NikonType2MakernoteDirectory getMakernoteDirectory()
           
 
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

getMakernoteDirectory

private NikonType2MakernoteDirectory getMakernoteDirectory()

getDescription

public 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 String getAutoFocusPositionDescription()
                                       throws MetadataException
Throws:
MetadataException

getDigitalZoomDescription

public String getDigitalZoomDescription()
                                 throws MetadataException
Throws:
MetadataException

getIsoSettingDescription

public String getIsoSettingDescription()
                                throws MetadataException
Throws:
MetadataException

getAutoFlashCompensationDescription

public String getAutoFlashCompensationDescription()
                                           throws MetadataException
Throws:
MetadataException

getLensDescription

public String getLensDescription()
                          throws MetadataException
Throws:
MetadataException

getHueAdjustmentDescription

public String getHueAdjustmentDescription()

getColorModeDescription

public String getColorModeDescription()

getAutoFirmwareVersionDescription

public String getAutoFirmwareVersionDescription()
                                         throws MetadataException
Throws:
MetadataException