com.aspose.imaging.fileformats.gif.blocks
Class GifUnknownExtensionBlock

java.lang.Object
  extended by com.aspose.imaging.fileformats.gif.GifBlock
      extended by com.aspose.imaging.fileformats.gif.blocks.GifUnknownExtensionBlock
All Implemented Interfaces:
IGifBlock

public class GifUnknownExtensionBlock
extends GifBlock

Gif Unknown Extension Block.


Field Summary
 
Fields inherited from class com.aspose.imaging.fileformats.gif.GifBlock
ExtensionIntroducer
 
Constructor Summary
GifUnknownExtensionBlock()
           Initializes a new instance of the GifUnknownExtensionBlock class.
GifUnknownExtensionBlock(byte extensionLabel, byte[] data)
           Initializes a new instance of the GifUnknownExtensionBlock class.
 
Method Summary
 byte getExtensionLabel()
           Gets the block's extension label.
 byte[] getUnknownData()
           Gets the unknown data.
 void save(java.io.InputStream stream)
           Saves the block to the InputStream.
 void setExtensionLabel(byte value)
           Sets the block's extension label.
 void setUnknownData(byte[] value)
           Sets the unknown data.
 
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
 

Constructor Detail

GifUnknownExtensionBlock

public GifUnknownExtensionBlock()

Initializes a new instance of the GifUnknownExtensionBlock class.


GifUnknownExtensionBlock

public GifUnknownExtensionBlock(byte extensionLabel,
                                byte[] data)

Initializes a new instance of the GifUnknownExtensionBlock class.

Parameters:
extensionLabel - The extension label.
data - The block data.
Method Detail

getExtensionLabel

public byte getExtensionLabel()

Gets the block's extension label.

Value: The block's extension label.


getUnknownData

public byte[] getUnknownData()

Gets the unknown data.

Value: The unknown data.


save

public void save(java.io.InputStream stream)

Saves the block to the InputStream.

Specified by:
save in interface IGifBlock
Overrides:
save in class GifBlock
Parameters:
stream - The stream to save data to.

setExtensionLabel

public void setExtensionLabel(byte value)

Sets the block's extension label.

Value: The block's extension label.


setUnknownData

public void setUnknownData(byte[] value)

Sets the unknown data.

Value: The unknown data.