com.drew.metadata.photoshop
Class PhotoshopDirectory

java.lang.Object
  extended by com.drew.metadata.Directory
      extended by com.drew.metadata.photoshop.PhotoshopDirectory

public class PhotoshopDirectory
extends Directory

Holds the metadata found in the APPD segment of a JPEG file saved by Photoshop.

Author:
Yuri Binev, Drew Noakes http://drewnoakes.com

Field Summary
protected static HashMap<Integer,String> _tagNameMap
           
static int TAG_PHOTOSHOP_CAPTION_DIGEST
           
static int TAG_PHOTOSHOP_COPYRIGHT
           
static int TAG_PHOTOSHOP_GLOBAL_ALTITUDE
           
static int TAG_PHOTOSHOP_GLOBAL_ANGLE
           
static int TAG_PHOTOSHOP_IPTC
           
static int TAG_PHOTOSHOP_JPEG_QUALITY
           
static int TAG_PHOTOSHOP_PIXEL_ASPECT_RATIO
           
static int TAG_PHOTOSHOP_PRINT_FLAGS
           
static int TAG_PHOTOSHOP_PRINT_FLAGS_INFO
           
static int TAG_PHOTOSHOP_PRINT_SCALE
           
static int TAG_PHOTOSHOP_RESOLUTION_INFO
           
static int TAG_PHOTOSHOP_SEED_NUMBER
           
static int TAG_PHOTOSHOP_SLICES
           
static int TAG_PHOTOSHOP_THUMBNAIL
           
static int TAG_PHOTOSHOP_THUMBNAIL_OLD
           
static int TAG_PHOTOSHOP_URL
           
static int TAG_PHOTOSHOP_URL_LIST
           
static int TAG_PHOTOSHOP_VERSION
           
static int TAG_PHOTOSHOP_XML
           
 
Fields inherited from class com.drew.metadata.Directory
_definedTagList, _descriptor, _tagMap
 
Constructor Summary
PhotoshopDirectory()
           
 
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.
 byte[] getThumbnailBytes()
           
 
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_PHOTOSHOP_THUMBNAIL

public static final int TAG_PHOTOSHOP_THUMBNAIL
See Also:
Constant Field Values

TAG_PHOTOSHOP_THUMBNAIL_OLD

public static final int TAG_PHOTOSHOP_THUMBNAIL_OLD
See Also:
Constant Field Values

TAG_PHOTOSHOP_JPEG_QUALITY

public static final int TAG_PHOTOSHOP_JPEG_QUALITY
See Also:
Constant Field Values

TAG_PHOTOSHOP_URL

public static final int TAG_PHOTOSHOP_URL
See Also:
Constant Field Values

TAG_PHOTOSHOP_IPTC

public static final int TAG_PHOTOSHOP_IPTC
See Also:
Constant Field Values

TAG_PHOTOSHOP_CAPTION_DIGEST

public static final int TAG_PHOTOSHOP_CAPTION_DIGEST
See Also:
Constant Field Values

TAG_PHOTOSHOP_SLICES

public static final int TAG_PHOTOSHOP_SLICES
See Also:
Constant Field Values

TAG_PHOTOSHOP_VERSION

public static final int TAG_PHOTOSHOP_VERSION
See Also:
Constant Field Values

TAG_PHOTOSHOP_RESOLUTION_INFO

public static final int TAG_PHOTOSHOP_RESOLUTION_INFO
See Also:
Constant Field Values

TAG_PHOTOSHOP_XML

public static final int TAG_PHOTOSHOP_XML
See Also:
Constant Field Values

TAG_PHOTOSHOP_COPYRIGHT

public static final int TAG_PHOTOSHOP_COPYRIGHT
See Also:
Constant Field Values

TAG_PHOTOSHOP_GLOBAL_ANGLE

public static final int TAG_PHOTOSHOP_GLOBAL_ANGLE
See Also:
Constant Field Values

TAG_PHOTOSHOP_GLOBAL_ALTITUDE

public static final int TAG_PHOTOSHOP_GLOBAL_ALTITUDE
See Also:
Constant Field Values

TAG_PHOTOSHOP_URL_LIST

public static final int TAG_PHOTOSHOP_URL_LIST
See Also:
Constant Field Values

TAG_PHOTOSHOP_PRINT_SCALE

public static final int TAG_PHOTOSHOP_PRINT_SCALE
See Also:
Constant Field Values

TAG_PHOTOSHOP_PRINT_FLAGS_INFO

public static final int TAG_PHOTOSHOP_PRINT_FLAGS_INFO
See Also:
Constant Field Values

TAG_PHOTOSHOP_PRINT_FLAGS

public static final int TAG_PHOTOSHOP_PRINT_FLAGS
See Also:
Constant Field Values

TAG_PHOTOSHOP_SEED_NUMBER

public static final int TAG_PHOTOSHOP_SEED_NUMBER
See Also:
Constant Field Values

TAG_PHOTOSHOP_PIXEL_ASPECT_RATIO

public static final int TAG_PHOTOSHOP_PIXEL_ASPECT_RATIO
See Also:
Constant Field Values

_tagNameMap

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

PhotoshopDirectory

public PhotoshopDirectory()
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

getThumbnailBytes

public byte[] getThumbnailBytes()


Copyright © 2012. All Rights Reserved.