|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.imaging.fileformats.gif.GifBlock
com.aspose.imaging.fileformats.gif.blocks.GifCommentBlock
public class GifCommentBlock
Gif comment block.
Field Summary | |
---|---|
static int |
BlockHeaderSize
Defines the block header size. |
static byte |
ExtensionLabel
Gif comment block extension label. |
Fields inherited from class com.aspose.imaging.fileformats.gif.GifBlock |
---|
ExtensionIntroducer |
Constructor Summary | |
---|---|
GifCommentBlock()
Initializes a new instance of the GifCommentBlock class. |
|
GifCommentBlock(java.lang.String comment)
Initializes a new instance of the GifCommentBlock class. |
Method Summary | |
---|---|
java.lang.String |
getComment()
Gets the comment. |
void |
save(java.io.InputStream stream)
Saves the block to the InputStream. |
void |
setComment(java.lang.String value)
Sets the comment. |
Methods inherited from class com.aspose.imaging.fileformats.gif.GifBlock |
---|
isChanged, isChanged |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int BlockHeaderSize
Defines the block header size.
public static final byte ExtensionLabel
Gif comment block extension label.
Constructor Detail |
---|
public GifCommentBlock()
Initializes a new instance of the GifCommentBlock
class.
public GifCommentBlock(java.lang.String comment)
Initializes a new instance of the GifCommentBlock
class.
comment
- The comment.Method Detail |
---|
public java.lang.String getComment()
Gets the comment. Note that comment must use ASCII encoding and will be stored accordingly.
Value: The comment.
public void save(java.io.InputStream stream)
Saves the block to the InputStream.
save
in interface IGifBlock
save
in class GifBlock
stream
- The stream to save data to.public void setComment(java.lang.String value)
Sets the comment. Note that comment must use ASCII encoding and will be stored accordingly.
Value: The comment.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |