Modifier and Type | Field and Description |
---|---|
static int |
BLOCK_HEADER_SIZE
Defines the block header size.
|
static byte |
EXTENSION_LABEL
Gif comment block extension label.
|
EXTENSION_INTRODUCER
Constructor and Description |
---|
GifCommentBlock()
Initializes a new instance of the
GifCommentBlock class. |
GifCommentBlock(String comment)
Initializes a new instance of the
GifCommentBlock class. |
Modifier and Type | Method and Description |
---|---|
String |
getComment()
Gets or sets the comment.
|
void |
setComment(String value)
Gets or sets the comment.
|
isChanged, save, setChanged
public static final byte EXTENSION_LABEL
Gif comment block extension label.
public static final int BLOCK_HEADER_SIZE
Defines the block header size.
public GifCommentBlock()
Initializes a new instance of the GifCommentBlock
class.
public GifCommentBlock(String comment)
Initializes a new instance of the GifCommentBlock
class.
comment
- The comment.public String getComment()
Gets or sets the comment. Note that comment must use ASCII encoding and will be stored accordingly.
Value: The comment.public void setComment(String value)
Gets or sets the comment. Note that comment must use ASCII encoding and will be stored accordingly.
Value: The comment.