Package com.drew.metadata.ico
Class IcoDirectory
- java.lang.Object
-
- com.drew.metadata.Directory
-
- com.drew.metadata.ico.IcoDirectory
-
public class IcoDirectory 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_COLOUR_PALETTE_SIZEstatic intTAG_COLOUR_PLANESstatic intTAG_CURSOR_HOTSPOT_Xstatic intTAG_CURSOR_HOTSPOT_Ystatic intTAG_IMAGE_HEIGHTstatic intTAG_IMAGE_OFFSET_BYTESstatic intTAG_IMAGE_SIZE_BYTESstatic intTAG_IMAGE_TYPEstatic intTAG_IMAGE_WIDTH-
Fields inherited from class com.drew.metadata.Directory
_definedTagList, _descriptor, _tagMap
-
-
Constructor Summary
Constructors Constructor Description IcoDirectory()
-
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_IMAGE_TYPE
public static final int TAG_IMAGE_TYPE
- See Also:
- Constant Field Values
-
TAG_IMAGE_WIDTH
public static final int TAG_IMAGE_WIDTH
- See Also:
- Constant Field Values
-
TAG_IMAGE_HEIGHT
public static final int TAG_IMAGE_HEIGHT
- See Also:
- Constant Field Values
-
TAG_COLOUR_PALETTE_SIZE
public static final int TAG_COLOUR_PALETTE_SIZE
- See Also:
- Constant Field Values
-
TAG_COLOUR_PLANES
public static final int TAG_COLOUR_PLANES
- See Also:
- Constant Field Values
-
TAG_CURSOR_HOTSPOT_X
public static final int TAG_CURSOR_HOTSPOT_X
- See Also:
- Constant Field Values
-
TAG_BITS_PER_PIXEL
public static final int TAG_BITS_PER_PIXEL
- See Also:
- Constant Field Values
-
TAG_CURSOR_HOTSPOT_Y
public static final int TAG_CURSOR_HOTSPOT_Y
- See Also:
- Constant Field Values
-
TAG_IMAGE_SIZE_BYTES
public static final int TAG_IMAGE_SIZE_BYTES
- See Also:
- Constant Field Values
-
TAG_IMAGE_OFFSET_BYTES
public static final int TAG_IMAGE_OFFSET_BYTES
- 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
-
-