com.drew.metadata.exif
Class ExifIFD0Directory

java.lang.Object
  extended by com.drew.metadata.Directory
      extended by com.drew.metadata.exif.ExifIFD0Directory

public class ExifIFD0Directory
extends Directory

Describes Exif tags from the IFD0 directory.

Author:
Drew Noakes http://drewnoakes.com

Field Summary
protected static HashMap<Integer,String> _tagNameMap
           
static int TAG_ARTIST
           
static int TAG_COPYRIGHT
           
static int TAG_DATETIME
           
static int TAG_IMAGE_DESCRIPTION
           
static int TAG_MAKE
           
static int TAG_MODEL
           
static int TAG_ORIENTATION
           
static int TAG_PRIMARY_CHROMATICITIES
           
static int TAG_REFERENCE_BLACK_WHITE
           
static int TAG_RESOLUTION_UNIT
           
static int TAG_SOFTWARE
           
static int TAG_WHITE_POINT
           
static int TAG_WIN_AUTHOR
          The image author, as used by Windows XP (called Artist in the Windows shell).
static int TAG_WIN_COMMENT
          The image comment, as used by Windows XP.
static int TAG_WIN_KEYWORDS
          The image keywords, as used by Windows XP.
static int TAG_WIN_SUBJECT
          The image subject, as used by Windows XP.
static int TAG_WIN_TITLE
          The image title, as used by Windows XP.
static int TAG_X_RESOLUTION
           
static int TAG_Y_RESOLUTION
           
static int TAG_YCBCR_COEFFICIENTS
           
static int TAG_YCBCR_POSITIONING
           
 
Fields inherited from class com.drew.metadata.Directory
_definedTagList, _descriptor, _tagMap
 
Constructor Summary
ExifIFD0Directory()
           
 
Method Summary
 String getName()
          Provides the name of the directory, for display purposes.
protected  HashMap<Integer,String> getTagNameMap()
          Provides the map of tag names, hashed by tag type identifier.
 
Methods inherited from class com.drew.metadata.Directory
addError, containsTag, getBoolean, getBooleanObject, getByteArray, getDate, getDate, getDescription, getDouble, getDoubleObject, getErrorCount, getErrors, getFloat, getFloatObject, getInt, getIntArray, getInteger, getLong, getLongObject, getObject, getRational, getRationalArray, getString, getString, getStringArray, getTagCount, getTagName, getTags, hasErrors, setBoolean, setByteArray, setDate, setDescriptor, setDouble, setDoubleArray, setFloat, setFloatArray, 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_IMAGE_DESCRIPTION

public static final int TAG_IMAGE_DESCRIPTION
See Also:
Constant Field Values

TAG_MAKE

public static final int TAG_MAKE
See Also:
Constant Field Values

TAG_MODEL

public static final int TAG_MODEL
See Also:
Constant Field Values

TAG_ORIENTATION

public static final int TAG_ORIENTATION
See Also:
Constant Field Values

TAG_X_RESOLUTION

public static final int TAG_X_RESOLUTION
See Also:
Constant Field Values

TAG_Y_RESOLUTION

public static final int TAG_Y_RESOLUTION
See Also:
Constant Field Values

TAG_RESOLUTION_UNIT

public static final int TAG_RESOLUTION_UNIT
See Also:
Constant Field Values

TAG_SOFTWARE

public static final int TAG_SOFTWARE
See Also:
Constant Field Values

TAG_DATETIME

public static final int TAG_DATETIME
See Also:
Constant Field Values

TAG_ARTIST

public static final int TAG_ARTIST
See Also:
Constant Field Values

TAG_WHITE_POINT

public static final int TAG_WHITE_POINT
See Also:
Constant Field Values

TAG_PRIMARY_CHROMATICITIES

public static final int TAG_PRIMARY_CHROMATICITIES
See Also:
Constant Field Values

TAG_YCBCR_COEFFICIENTS

public static final int TAG_YCBCR_COEFFICIENTS
See Also:
Constant Field Values

TAG_YCBCR_POSITIONING

public static final int TAG_YCBCR_POSITIONING
See Also:
Constant Field Values

TAG_REFERENCE_BLACK_WHITE

public static final int TAG_REFERENCE_BLACK_WHITE
See Also:
Constant Field Values

TAG_COPYRIGHT

public static final int TAG_COPYRIGHT
See Also:
Constant Field Values

TAG_WIN_TITLE

public static final int TAG_WIN_TITLE
The image title, as used by Windows XP.

See Also:
Constant Field Values

TAG_WIN_COMMENT

public static final int TAG_WIN_COMMENT
The image comment, as used by Windows XP.

See Also:
Constant Field Values

TAG_WIN_AUTHOR

public static final int TAG_WIN_AUTHOR
The image author, as used by Windows XP (called Artist in the Windows shell).

See Also:
Constant Field Values

TAG_WIN_KEYWORDS

public static final int TAG_WIN_KEYWORDS
The image keywords, as used by Windows XP.

See Also:
Constant Field Values

TAG_WIN_SUBJECT

public static final int TAG_WIN_SUBJECT
The image subject, as used by Windows XP.

See Also:
Constant Field Values

_tagNameMap

protected static final HashMap<Integer,String> _tagNameMap
Constructor Detail

ExifIFD0Directory

public ExifIFD0Directory()
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<Integer,String> 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


Copyright © 2012. All Rights Reserved.