com.aspose.imaging.fileformats.gif
Class GifBlock

java.lang.Object
  extended by com.aspose.imaging.fileformats.gif.GifBlock
All Implemented Interfaces:
IGifBlock
Direct Known Subclasses:
GifApplicationExtensionBlock, GifCommentBlock, GifGraphicsControlBlock, GifPlainTextRenderingBlock, GifUnknownExtensionBlock

public abstract class GifBlock
extends java.lang.Object
implements IGifBlock

The default gif block implementation.


Field Summary
static byte ExtensionIntroducer
           Extension introducer.
 
Constructor Summary
GifBlock()
           
 
Method Summary
 boolean isChanged()
           Gets a value indicating whether block has changed and requires save.
 void isChanged(boolean value)
           Sets a value indicating whether block has changed and requires save.
 void save(java.io.InputStream stream)
           Saves the block to the specified InputStream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ExtensionIntroducer

public static final byte ExtensionIntroducer

Extension introducer.

See Also:
Constant Field Values
Constructor Detail

GifBlock

public GifBlock()
Method Detail

isChanged

public boolean isChanged()

Gets a value indicating whether block has changed and requires save.

Value: true if block has changed; otherwise, false.

Specified by:
isChanged in interface IGifBlock

isChanged

public void isChanged(boolean value)

Sets a value indicating whether block has changed and requires save.

Value: true if block has changed; otherwise, false.

Specified by:
isChanged in interface IGifBlock

save

public void save(java.io.InputStream stream)

Saves the block to the specified InputStream.

Specified by:
save in interface IGifBlock