Class GIFImageMetadata
- java.lang.Object
-
- javax.imageio.metadata.IIOMetadata
-
- com.github.jaiimageio.impl.plugins.gif.GIFMetadata
-
- com.github.jaiimageio.impl.plugins.gif.GIFImageMetadata
-
- Direct Known Subclasses:
GIFWritableImageMetadata
public class GIFImageMetadata extends GIFMetadata
- Version:
- 0.5
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List
applicationData
java.util.List
applicationIDs
java.util.List
authenticationCodes
int
characterCellHeight
int
characterCellWidth
java.util.List
comments
int
delayTime
int
disposalMethod
(package private) static java.lang.String[]
disposalMethodNames
boolean
hasPlainTextExtension
int
imageHeight
int
imageLeftPosition
int
imageTopPosition
int
imageWidth
boolean
interlaceFlag
byte[]
localColorTable
(package private) static java.lang.String
nativeMetadataFormatName
boolean
sortFlag
byte[]
text
int
textBackgroundColor
int
textForegroundColor
int
textGridHeight
int
textGridLeft
int
textGridTop
int
textGridWidth
boolean
transparentColorFlag
int
transparentColorIndex
boolean
userInputFlag
-
Fields inherited from class com.github.jaiimageio.impl.plugins.gif.GIFMetadata
UNDEFINED_INTEGER_VALUE
-
-
Constructor Summary
Constructors Modifier Constructor Description GIFImageMetadata()
protected
GIFImageMetadata(boolean standardMetadataFormatSupported, java.lang.String nativeMetadataFormatName, java.lang.String nativeMetadataFormatClassName, java.lang.String[] extraMetadataFormatNames, java.lang.String[] extraMetadataFormatClassNames)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.w3c.dom.Node
getAsTree(java.lang.String formatName)
private org.w3c.dom.Node
getNativeTree()
javax.imageio.metadata.IIOMetadataNode
getStandardChromaNode()
javax.imageio.metadata.IIOMetadataNode
getStandardCompressionNode()
javax.imageio.metadata.IIOMetadataNode
getStandardDataNode()
javax.imageio.metadata.IIOMetadataNode
getStandardDimensionNode()
javax.imageio.metadata.IIOMetadataNode
getStandardTextNode()
javax.imageio.metadata.IIOMetadataNode
getStandardTransparencyNode()
boolean
isReadOnly()
protected void
mergeNativeTree(org.w3c.dom.Node root)
protected void
mergeStandardTree(org.w3c.dom.Node root)
void
reset()
void
setFromTree(java.lang.String formatName, org.w3c.dom.Node root)
private java.lang.String
toISO8859(byte[] data)
-
Methods inherited from class com.github.jaiimageio.impl.plugins.gif.GIFMetadata
fatal, getAttribute, getAttribute, getBooleanAttribute, getBooleanAttribute, getColorTable, getEnumeratedAttribute, getEnumeratedAttribute, getFloatAttribute, getFloatAttribute, getIntAttribute, getIntAttribute, getStringAttribute, mergeTree
-
Methods inherited from class javax.imageio.metadata.IIOMetadata
activateController, getController, getDefaultController, getExtraMetadataFormatNames, getMetadataFormat, getMetadataFormatNames, getNativeMetadataFormatName, getStandardDocumentNode, getStandardTileNode, getStandardTree, hasController, isStandardMetadataFormatSupported, setController
-
-
-
-
Field Detail
-
nativeMetadataFormatName
static final java.lang.String nativeMetadataFormatName
- See Also:
- Constant Field Values
-
disposalMethodNames
static final java.lang.String[] disposalMethodNames
-
imageLeftPosition
public int imageLeftPosition
-
imageTopPosition
public int imageTopPosition
-
imageWidth
public int imageWidth
-
imageHeight
public int imageHeight
-
interlaceFlag
public boolean interlaceFlag
-
sortFlag
public boolean sortFlag
-
localColorTable
public byte[] localColorTable
-
disposalMethod
public int disposalMethod
-
userInputFlag
public boolean userInputFlag
-
transparentColorFlag
public boolean transparentColorFlag
-
delayTime
public int delayTime
-
transparentColorIndex
public int transparentColorIndex
-
hasPlainTextExtension
public boolean hasPlainTextExtension
-
textGridLeft
public int textGridLeft
-
textGridTop
public int textGridTop
-
textGridWidth
public int textGridWidth
-
textGridHeight
public int textGridHeight
-
characterCellWidth
public int characterCellWidth
-
characterCellHeight
public int characterCellHeight
-
textForegroundColor
public int textForegroundColor
-
textBackgroundColor
public int textBackgroundColor
-
text
public byte[] text
-
applicationIDs
public java.util.List applicationIDs
-
authenticationCodes
public java.util.List authenticationCodes
-
applicationData
public java.util.List applicationData
-
comments
public java.util.List comments
-
-
Constructor Detail
-
GIFImageMetadata
protected GIFImageMetadata(boolean standardMetadataFormatSupported, java.lang.String nativeMetadataFormatName, java.lang.String nativeMetadataFormatClassName, java.lang.String[] extraMetadataFormatNames, java.lang.String[] extraMetadataFormatClassNames)
-
GIFImageMetadata
public GIFImageMetadata()
-
-
Method Detail
-
isReadOnly
public boolean isReadOnly()
- Specified by:
isReadOnly
in classjavax.imageio.metadata.IIOMetadata
-
getAsTree
public org.w3c.dom.Node getAsTree(java.lang.String formatName)
- Specified by:
getAsTree
in classjavax.imageio.metadata.IIOMetadata
-
toISO8859
private java.lang.String toISO8859(byte[] data)
-
getNativeTree
private org.w3c.dom.Node getNativeTree()
-
getStandardChromaNode
public javax.imageio.metadata.IIOMetadataNode getStandardChromaNode()
- Overrides:
getStandardChromaNode
in classjavax.imageio.metadata.IIOMetadata
-
getStandardCompressionNode
public javax.imageio.metadata.IIOMetadataNode getStandardCompressionNode()
- Overrides:
getStandardCompressionNode
in classjavax.imageio.metadata.IIOMetadata
-
getStandardDataNode
public javax.imageio.metadata.IIOMetadataNode getStandardDataNode()
- Overrides:
getStandardDataNode
in classjavax.imageio.metadata.IIOMetadata
-
getStandardDimensionNode
public javax.imageio.metadata.IIOMetadataNode getStandardDimensionNode()
- Overrides:
getStandardDimensionNode
in classjavax.imageio.metadata.IIOMetadata
-
getStandardTextNode
public javax.imageio.metadata.IIOMetadataNode getStandardTextNode()
- Overrides:
getStandardTextNode
in classjavax.imageio.metadata.IIOMetadata
-
getStandardTransparencyNode
public javax.imageio.metadata.IIOMetadataNode getStandardTransparencyNode()
- Overrides:
getStandardTransparencyNode
in classjavax.imageio.metadata.IIOMetadata
-
setFromTree
public void setFromTree(java.lang.String formatName, org.w3c.dom.Node root) throws javax.imageio.metadata.IIOInvalidTreeException
- Overrides:
setFromTree
in classjavax.imageio.metadata.IIOMetadata
- Throws:
javax.imageio.metadata.IIOInvalidTreeException
-
mergeNativeTree
protected void mergeNativeTree(org.w3c.dom.Node root) throws javax.imageio.metadata.IIOInvalidTreeException
- Specified by:
mergeNativeTree
in classGIFMetadata
- Throws:
javax.imageio.metadata.IIOInvalidTreeException
-
mergeStandardTree
protected void mergeStandardTree(org.w3c.dom.Node root) throws javax.imageio.metadata.IIOInvalidTreeException
- Specified by:
mergeStandardTree
in classGIFMetadata
- Throws:
javax.imageio.metadata.IIOInvalidTreeException
-
reset
public void reset()
- Specified by:
reset
in classjavax.imageio.metadata.IIOMetadata
-
-