com.drew.metadata.exif
Class NikonType1MakernoteDirectory

java.lang.Object
  extended by com.drew.metadata.Directory
      extended by com.drew.metadata.exif.NikonType1MakernoteDirectory
All Implemented Interfaces:
Serializable

public class NikonType1MakernoteDirectory
extends Directory

Describes tags specific to Nikon (type 1) cameras. Type-1 is for E-Series cameras prior to (not including) E990. There are 3 formats of Nikon's MakerNote. MakerNote of E700/E800/E900/E900S/E910/E950 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

Field Summary
protected static HashMap _tagNameMap
           
static int TAG_NIKON_TYPE1_CCD_SENSITIVITY
           
static int TAG_NIKON_TYPE1_COLOR_MODE
           
static int TAG_NIKON_TYPE1_CONVERTER
           
static int TAG_NIKON_TYPE1_DIGITAL_ZOOM
           
static int TAG_NIKON_TYPE1_FOCUS
           
static int TAG_NIKON_TYPE1_IMAGE_ADJUSTMENT
           
static int TAG_NIKON_TYPE1_QUALITY
           
static int TAG_NIKON_TYPE1_UNKNOWN_1
           
static int TAG_NIKON_TYPE1_UNKNOWN_2
           
static int TAG_NIKON_TYPE1_UNKNOWN_3
           
static int TAG_NIKON_TYPE1_WHITE_BALANCE
           
 
Fields inherited from class com.drew.metadata.Directory
_definedTagList, _descriptor, _tagMap
 
Constructor Summary
NikonType1MakernoteDirectory()
           
 
Method Summary
 String getName()
          Provides the name of the directory, for display purposes.
protected  HashMap getTagNameMap()
          Provides the map of tag names, hashed by tag type identifier.
 
Methods inherited from class com.drew.metadata.Directory
addError, containsTag, getBoolean, getByteArray, getDate, getDescription, getDouble, getErrorCount, getErrors, getFloat, getInt, getIntArray, getLong, getObject, getRational, getRationalArray, getString, getStringArray, getTagCount, getTagIterator, getTagName, hasErrors, setBoolean, setByteArray, setDate, setDescriptor, setDouble, setFloat, setInt, setIntArray, setLong, setObject, setObjectArray, setRational, setRationalArray, setString, setStringArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TAG_NIKON_TYPE1_UNKNOWN_1

public static final int TAG_NIKON_TYPE1_UNKNOWN_1
See Also:
Constant Field Values

TAG_NIKON_TYPE1_QUALITY

public static final int TAG_NIKON_TYPE1_QUALITY
See Also:
Constant Field Values

TAG_NIKON_TYPE1_COLOR_MODE

public static final int TAG_NIKON_TYPE1_COLOR_MODE
See Also:
Constant Field Values

TAG_NIKON_TYPE1_IMAGE_ADJUSTMENT

public static final int TAG_NIKON_TYPE1_IMAGE_ADJUSTMENT
See Also:
Constant Field Values

TAG_NIKON_TYPE1_CCD_SENSITIVITY

public static final int TAG_NIKON_TYPE1_CCD_SENSITIVITY
See Also:
Constant Field Values

TAG_NIKON_TYPE1_WHITE_BALANCE

public static final int TAG_NIKON_TYPE1_WHITE_BALANCE
See Also:
Constant Field Values

TAG_NIKON_TYPE1_FOCUS

public static final int TAG_NIKON_TYPE1_FOCUS
See Also:
Constant Field Values

TAG_NIKON_TYPE1_UNKNOWN_2

public static final int TAG_NIKON_TYPE1_UNKNOWN_2
See Also:
Constant Field Values

TAG_NIKON_TYPE1_DIGITAL_ZOOM

public static final int TAG_NIKON_TYPE1_DIGITAL_ZOOM
See Also:
Constant Field Values

TAG_NIKON_TYPE1_CONVERTER

public static final int TAG_NIKON_TYPE1_CONVERTER
See Also:
Constant Field Values

TAG_NIKON_TYPE1_UNKNOWN_3

public static final int TAG_NIKON_TYPE1_UNKNOWN_3
See Also:
Constant Field Values

_tagNameMap

protected static final HashMap _tagNameMap
Constructor Detail

NikonType1MakernoteDirectory

public NikonType1MakernoteDirectory()
Method Detail

getName

public String getName()
Description copied from class: Directory
Provides the name of the directory, for display purposes. E.g. Exif

Specified by:
getName in class Directory
Returns:
the name of the directory

getTagNameMap

protected HashMap getTagNameMap()
Description copied from class: Directory
Provides the map of tag names, hashed by tag type identifier.

Specified by:
getTagNameMap in class Directory
Returns:
the map of tag names