com.drew.metadata.exif
Class NikonType1MakernoteDescriptor
java.lang.Object
com.drew.metadata.TagDescriptor
com.drew.metadata.exif.NikonType1MakernoteDescriptor
- All Implemented Interfaces:
- java.io.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 ................
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NikonType1MakernoteDescriptor
public NikonType1MakernoteDescriptor(Directory directory)
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
getConverterDescription
public java.lang.String getConverterDescription()
throws MetadataException
- Throws:
MetadataException
getDigitalZoomDescription
public java.lang.String getDigitalZoomDescription()
throws MetadataException
- Throws:
MetadataException
getFocusDescription
public java.lang.String getFocusDescription()
throws MetadataException
- Throws:
MetadataException
getWhiteBalanceDescription
public java.lang.String getWhiteBalanceDescription()
throws MetadataException
- Throws:
MetadataException
getCcdSensitivityDescription
public java.lang.String getCcdSensitivityDescription()
throws MetadataException
- Throws:
MetadataException
getImageAdjustmentDescription
public java.lang.String getImageAdjustmentDescription()
throws MetadataException
- Throws:
MetadataException
getColorModeDescription
public java.lang.String getColorModeDescription()
throws MetadataException
- Throws:
MetadataException
getQualityDescription
public java.lang.String getQualityDescription()
throws MetadataException
- Throws:
MetadataException
Copyright © 2006 Drew Noakes. All Rights Reserved.