Package com.drew.metadata.pcx
Class PcxDirectory
- java.lang.Object
-
- com.drew.metadata.Directory
-
- com.drew.metadata.pcx.PcxDirectory
-
public class PcxDirectory extends Directory
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.HashMap<java.lang.Integer,java.lang.String>_tagNameMapstatic intTAG_BITS_PER_PIXELstatic intTAG_BYTES_PER_LINEstatic intTAG_COLOR_PLANESstatic intTAG_HORIZONTAL_DPIstatic intTAG_HSCR_SIZEstatic intTAG_PALETTEstatic intTAG_PALETTE_TYPEstatic intTAG_VERSIONstatic intTAG_VERTICAL_DPIstatic intTAG_VSCR_SIZEstatic intTAG_XMAXstatic intTAG_XMINstatic intTAG_YMAXstatic intTAG_YMIN-
Fields inherited from class com.drew.metadata.Directory
_definedTagList, _descriptor, _tagMap
-
-
Constructor Summary
Constructors Constructor Description PcxDirectory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()Provides the name of the directory, for display purposes.protected java.util.HashMap<java.lang.Integer,java.lang.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, getDate, getDescription, getDouble, getDoubleObject, getErrorCount, getErrors, getFloat, getFloatObject, getInt, getIntArray, getInteger, getLong, getLongObject, getObject, getParent, getRational, getRationalArray, getString, getString, getStringArray, getStringValue, getStringValueArray, getTagCount, getTagName, getTags, hasErrors, hasTagName, isEmpty, setBoolean, setByteArray, setDate, setDescriptor, setDouble, setDoubleArray, setFloat, setFloatArray, setInt, setIntArray, setLong, setObject, setObjectArray, setParent, setRational, setRationalArray, setString, setStringArray, setStringValue, setStringValueArray, toString
-
-
-
-
Field Detail
-
TAG_VERSION
public static final int TAG_VERSION
- See Also:
- Constant Field Values
-
TAG_BITS_PER_PIXEL
public static final int TAG_BITS_PER_PIXEL
- See Also:
- Constant Field Values
-
TAG_XMIN
public static final int TAG_XMIN
- See Also:
- Constant Field Values
-
TAG_YMIN
public static final int TAG_YMIN
- See Also:
- Constant Field Values
-
TAG_XMAX
public static final int TAG_XMAX
- See Also:
- Constant Field Values
-
TAG_YMAX
public static final int TAG_YMAX
- See Also:
- Constant Field Values
-
TAG_HORIZONTAL_DPI
public static final int TAG_HORIZONTAL_DPI
- See Also:
- Constant Field Values
-
TAG_VERTICAL_DPI
public static final int TAG_VERTICAL_DPI
- See Also:
- Constant Field Values
-
TAG_PALETTE
public static final int TAG_PALETTE
- See Also:
- Constant Field Values
-
TAG_COLOR_PLANES
public static final int TAG_COLOR_PLANES
- See Also:
- Constant Field Values
-
TAG_BYTES_PER_LINE
public static final int TAG_BYTES_PER_LINE
- See Also:
- Constant Field Values
-
TAG_PALETTE_TYPE
public static final int TAG_PALETTE_TYPE
- See Also:
- Constant Field Values
-
TAG_HSCR_SIZE
public static final int TAG_HSCR_SIZE
- See Also:
- Constant Field Values
-
TAG_VSCR_SIZE
public static final int TAG_VSCR_SIZE
- See Also:
- Constant Field Values
-
_tagNameMap
private static final java.util.HashMap<java.lang.Integer,java.lang.String> _tagNameMap
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from class:DirectoryProvides the name of the directory, for display purposes. E.g.Exif
-
getTagNameMap
protected java.util.HashMap<java.lang.Integer,java.lang.String> getTagNameMap()
Description copied from class:DirectoryProvides the map of tag names, hashed by tag type identifier.- Specified by:
getTagNameMapin classDirectory- Returns:
- the map of tag names
-
-