com.drew.metadata.iptc
Class IptcDirectory

java.lang.Object
  extended by com.drew.metadata.Directory
      extended by com.drew.metadata.iptc.IptcDirectory
All Implemented Interfaces:
Serializable

public class IptcDirectory
extends Directory

Describes tags used by the International Press Telecommunications Council (IPTC) metadata format.

See Also:
Serialized Form

Field Summary
static int TAG_BY_LINE
           
static int TAG_BY_LINE_TITLE
           
static int TAG_CAPTION
           
static int TAG_CATEGORY
           
static int TAG_CITY
           
static int TAG_COPYRIGHT_NOTICE
           
static int TAG_COUNTRY_OR_PRIMARY_LOCATION
           
static int TAG_CREDIT
           
static int TAG_DATE_CREATED
           
static int TAG_HEADLINE
           
static int TAG_KEYWORDS
           
static int TAG_OBJECT_NAME
           
static int TAG_ORIGINAL_TRANSMISSION_REFERENCE
           
static int TAG_ORIGINATING_PROGRAM
           
static int TAG_PROVINCE_OR_STATE
           
static int TAG_RECORD_VERSION
           
static int TAG_RELEASE_DATE
           
static int TAG_RELEASE_TIME
           
static int TAG_SOURCE
           
static int TAG_SPECIAL_INSTRUCTIONS
           
static int TAG_SUPPLEMENTAL_CATEGORIES
           
static int TAG_TIME_CREATED
           
static int TAG_URGENCY
           
static int TAG_WRITER
           
protected static HashMap tagNameMap
           
 
Fields inherited from class com.drew.metadata.Directory
_definedTagList, _descriptor, _tagMap
 
Constructor Summary
IptcDirectory()
           
 
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_RECORD_VERSION

public static final int TAG_RECORD_VERSION
See Also:
Constant Field Values

TAG_CAPTION

public static final int TAG_CAPTION
See Also:
Constant Field Values

TAG_WRITER

public static final int TAG_WRITER
See Also:
Constant Field Values

TAG_HEADLINE

public static final int TAG_HEADLINE
See Also:
Constant Field Values

TAG_SPECIAL_INSTRUCTIONS

public static final int TAG_SPECIAL_INSTRUCTIONS
See Also:
Constant Field Values

TAG_BY_LINE

public static final int TAG_BY_LINE
See Also:
Constant Field Values

TAG_BY_LINE_TITLE

public static final int TAG_BY_LINE_TITLE
See Also:
Constant Field Values

TAG_CREDIT

public static final int TAG_CREDIT
See Also:
Constant Field Values

TAG_SOURCE

public static final int TAG_SOURCE
See Also:
Constant Field Values

TAG_OBJECT_NAME

public static final int TAG_OBJECT_NAME
See Also:
Constant Field Values

TAG_DATE_CREATED

public static final int TAG_DATE_CREATED
See Also:
Constant Field Values

TAG_CITY

public static final int TAG_CITY
See Also:
Constant Field Values

TAG_PROVINCE_OR_STATE

public static final int TAG_PROVINCE_OR_STATE
See Also:
Constant Field Values

TAG_COUNTRY_OR_PRIMARY_LOCATION

public static final int TAG_COUNTRY_OR_PRIMARY_LOCATION
See Also:
Constant Field Values

TAG_ORIGINAL_TRANSMISSION_REFERENCE

public static final int TAG_ORIGINAL_TRANSMISSION_REFERENCE
See Also:
Constant Field Values

TAG_CATEGORY

public static final int TAG_CATEGORY
See Also:
Constant Field Values

TAG_SUPPLEMENTAL_CATEGORIES

public static final int TAG_SUPPLEMENTAL_CATEGORIES
See Also:
Constant Field Values

TAG_URGENCY

public static final int TAG_URGENCY
See Also:
Constant Field Values

TAG_KEYWORDS

public static final int TAG_KEYWORDS
See Also:
Constant Field Values

TAG_COPYRIGHT_NOTICE

public static final int TAG_COPYRIGHT_NOTICE
See Also:
Constant Field Values

TAG_RELEASE_DATE

public static final int TAG_RELEASE_DATE
See Also:
Constant Field Values

TAG_RELEASE_TIME

public static final int TAG_RELEASE_TIME
See Also:
Constant Field Values

TAG_TIME_CREATED

public static final int TAG_TIME_CREATED
See Also:
Constant Field Values

TAG_ORIGINATING_PROGRAM

public static final int TAG_ORIGINATING_PROGRAM
See Also:
Constant Field Values

tagNameMap

protected static final HashMap tagNameMap
Constructor Detail

IptcDirectory

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