Package gov.nih.mipav.model.file
Class MetadataExtractor.GifHeaderDirectory
- java.lang.Object
-
- gov.nih.mipav.model.file.MetadataExtractor.Directory
-
- gov.nih.mipav.model.file.MetadataExtractor.GifHeaderDirectory
-
- Enclosing class:
- MetadataExtractor
public class MetadataExtractor.GifHeaderDirectory extends MetadataExtractor.Directory
- Author:
- Drew Noakes https://drewnoakes.com
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.HashMap<java.lang.Integer,java.lang.String>
_tagNameMap
static int
TAG_BACKGROUND_COLOR_INDEX
static int
TAG_BITS_PER_PIXEL
static int
TAG_COLOR_TABLE_SIZE
static int
TAG_GIF_FORMAT_VERSION
static int
TAG_HAS_GLOBAL_COLOR_TABLE
static int
TAG_IMAGE_HEIGHT
static int
TAG_IMAGE_WIDTH
static int
TAG_IS_COLOR_TABLE_SORTED
static int
TAG_PIXEL_ASPECT_RATIO
static int
TAG_TRANSPARENT_COLOR_INDEX
Deprecated.useTAG_BACKGROUND_COLOR_INDEX
instead.-
Fields inherited from class gov.nih.mipav.model.file.MetadataExtractor.Directory
_definedTagList, _descriptor, _tagMap
-
-
Constructor Summary
Constructors Constructor Description GifHeaderDirectory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
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 gov.nih.mipav.model.file.MetadataExtractor.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_GIF_FORMAT_VERSION
public static final int TAG_GIF_FORMAT_VERSION
- 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_COLOR_TABLE_SIZE
public static final int TAG_COLOR_TABLE_SIZE
- See Also:
- Constant Field Values
-
TAG_IS_COLOR_TABLE_SORTED
public static final int TAG_IS_COLOR_TABLE_SORTED
- See Also:
- Constant Field Values
-
TAG_BITS_PER_PIXEL
public static final int TAG_BITS_PER_PIXEL
- See Also:
- Constant Field Values
-
TAG_HAS_GLOBAL_COLOR_TABLE
public static final int TAG_HAS_GLOBAL_COLOR_TABLE
- See Also:
- Constant Field Values
-
TAG_TRANSPARENT_COLOR_INDEX
@Deprecated public static final int TAG_TRANSPARENT_COLOR_INDEX
Deprecated.useTAG_BACKGROUND_COLOR_INDEX
instead.- See Also:
- Constant Field Values
-
TAG_BACKGROUND_COLOR_INDEX
public static final int TAG_BACKGROUND_COLOR_INDEX
- See Also:
- Constant Field Values
-
TAG_PIXEL_ASPECT_RATIO
public static final int TAG_PIXEL_ASPECT_RATIO
- See Also:
- Constant Field Values
-
_tagNameMap
private final java.util.HashMap<java.lang.Integer,java.lang.String> _tagNameMap
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from class:MetadataExtractor.Directory
Provides the name of the directory, for display purposes. E.g.Exif
- Specified by:
getName
in classMetadataExtractor.Directory
- Returns:
- the name of the directory
-
getTagNameMap
protected java.util.HashMap<java.lang.Integer,java.lang.String> getTagNameMap()
Description copied from class:MetadataExtractor.Directory
Provides the map of tag names, hashed by tag type identifier.- Specified by:
getTagNameMap
in classMetadataExtractor.Directory
- Returns:
- the map of tag names
-
-