Package gov.nih.mipav.model.file
Class MetadataExtractor.GifControlDirectory
- java.lang.Object
-
- gov.nih.mipav.model.file.MetadataExtractor.Directory
-
- gov.nih.mipav.model.file.MetadataExtractor.GifControlDirectory
-
- Enclosing class:
- MetadataExtractor
public class MetadataExtractor.GifControlDirectory extends MetadataExtractor.Directory
- Author:
- Drew Noakes https://drewnoakes.com, Kevin Mott https://github.com/kwhopper
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classMetadataExtractor.GifControlDirectory.DisposalMethodDisposal method indicates the way in which the graphic is to be treated after being displayed.
-
Field Summary
Fields Modifier and Type Field Description private java.util.HashMap<java.lang.Integer,java.lang.String>_tagNameMapstatic intTAG_DELAYstatic intTAG_DISPOSAL_METHODstatic intTAG_TRANSPARENT_COLOR_FLAGstatic intTAG_TRANSPARENT_COLOR_INDEXstatic intTAG_USER_INPUT_FLAG-
Fields inherited from class gov.nih.mipav.model.file.MetadataExtractor.Directory
_definedTagList, _descriptor, _tagMap
-
-
Constructor Summary
Constructors Constructor Description GifControlDirectory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetadataExtractor.GifControlDirectory.DisposalMethodgetDisposalMethod()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.booleanisTransparent()-
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_DELAY
public static final int TAG_DELAY
- See Also:
- Constant Field Values
-
TAG_DISPOSAL_METHOD
public static final int TAG_DISPOSAL_METHOD
- See Also:
- Constant Field Values
-
TAG_USER_INPUT_FLAG
public static final int TAG_USER_INPUT_FLAG
- See Also:
- Constant Field Values
-
TAG_TRANSPARENT_COLOR_FLAG
public static final int TAG_TRANSPARENT_COLOR_FLAG
- See Also:
- Constant Field Values
-
TAG_TRANSPARENT_COLOR_INDEX
public static final int TAG_TRANSPARENT_COLOR_INDEX
- 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.DirectoryProvides the name of the directory, for display purposes. E.g.Exif- Specified by:
getNamein classMetadataExtractor.Directory- Returns:
- the name of the directory
-
getDisposalMethod
public MetadataExtractor.GifControlDirectory.DisposalMethod getDisposalMethod()
- Returns:
- The
MetadataExtractor.GifControlDirectory.DisposalMethod.
-
isTransparent
public boolean isTransparent()
- Returns:
- Whether the GIF has transparency.
-
getTagNameMap
protected java.util.HashMap<java.lang.Integer,java.lang.String> getTagNameMap()
Description copied from class:MetadataExtractor.DirectoryProvides the map of tag names, hashed by tag type identifier.- Specified by:
getTagNameMapin classMetadataExtractor.Directory- Returns:
- the map of tag names
-
-