GifApplicationExtensionBlock
Inheritance: java.lang.Object, com.aspose.imaging.fileformats.gif.GifBlock
public class GifApplicationExtensionBlock extends GifBlock
Gif application extension block.
Constructors
Constructor | Description |
---|---|
GifApplicationExtensionBlock() | Initializes a new instance of the GifApplicationExtensionBlock class. |
GifApplicationExtensionBlock(String applicationIdentifier, byte[] applicationAuthenticationCode, byte[] applicationData) | Initializes a new instance of the GifApplicationExtensionBlock class. |
Fields
Field | Description |
---|---|
BLOCK_HEADER_SIZE | Specifies the block header size. |
EXTENSION_LABEL | Extension label. |
BLOCK_SIZE | Extension name + version block size |
APPLICATION_IDENTIFIER_SIZE | Specifies the application identifier size. |
APPLICATION_AUTHENTICATION_CODE_SIZE | Specifies the application authentication code size. |
Methods
Method | Description |
---|---|
getApplicationAuthenticationCode() | Gets or sets the application authentication code. |
setApplicationAuthenticationCode(byte[] value) | Gets or sets the application authentication code. |
getApplicationIdentifier() | Gets or sets the application identifier. |
setApplicationIdentifier(String value) | Gets or sets the application identifier. |
getApplicationData() | Gets or sets the application data. |
setApplicationData(byte[] value) | Gets or sets the application data. |
GifApplicationExtensionBlock()
public GifApplicationExtensionBlock()
Initializes a new instance of the GifApplicationExtensionBlock
class.
GifApplicationExtensionBlock(String applicationIdentifier, byte[] applicationAuthenticationCode, byte[] applicationData)
public GifApplicationExtensionBlock(String applicationIdentifier, byte[] applicationAuthenticationCode, byte[] applicationData)
Initializes a new instance of the GifApplicationExtensionBlock
class.
Parameters:
Parameter | Type | Description |
---|---|---|
applicationIdentifier | java.lang.String | The application identifier. |
applicationAuthenticationCode | byte[] | The application authentication code. |
applicationData | byte[] | The application data. |
BLOCK_HEADER_SIZE
public static final int BLOCK_HEADER_SIZE
Specifies the block header size.
EXTENSION_LABEL
public static final byte EXTENSION_LABEL
Extension label.
BLOCK_SIZE
public static final byte BLOCK_SIZE
Extension name + version block size
APPLICATION_IDENTIFIER_SIZE
public static final int APPLICATION_IDENTIFIER_SIZE
Specifies the application identifier size.
APPLICATION_AUTHENTICATION_CODE_SIZE
public static final int APPLICATION_AUTHENTICATION_CODE_SIZE
Specifies the application authentication code size.
getApplicationAuthenticationCode()
public byte[] getApplicationAuthenticationCode()
Gets or sets the application authentication code.
Value: The application authentication code.
Returns: byte[]
setApplicationAuthenticationCode(byte[] value)
public void setApplicationAuthenticationCode(byte[] value)
Gets or sets the application authentication code.
Value: The application authentication code.
Parameters:
Parameter | Type | Description |
---|---|---|
value | byte[] |
getApplicationIdentifier()
public String getApplicationIdentifier()
Gets or sets the application identifier.
Value: The application identifier.
Returns: java.lang.String
setApplicationIdentifier(String value)
public void setApplicationIdentifier(String value)
Gets or sets the application identifier.
Value: The application identifier.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
getApplicationData()
public byte[] getApplicationData()
Gets or sets the application data.
Value: The application data.
Returns: byte[]
setApplicationData(byte[] value)
public void setApplicationData(byte[] value)
Gets or sets the application data.
Value: The application data.
Parameters:
Parameter | Type | Description |
---|---|---|
value | byte[] |