GifApplicationExtensionBlock

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.gif.GifBlock

public class GifApplicationExtensionBlock extends GifBlock

Gif application extension block.

Constructors

ConstructorDescription
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

FieldDescription
BLOCK_HEADER_SIZESpecifies the block header size.
EXTENSION_LABELExtension label.
BLOCK_SIZEExtension name + version block size
APPLICATION_IDENTIFIER_SIZESpecifies the application identifier size.
APPLICATION_AUTHENTICATION_CODE_SIZESpecifies the application authentication code size.

Methods

MethodDescription
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:

ParameterTypeDescription
applicationIdentifierjava.lang.StringThe application identifier.
applicationAuthenticationCodebyte[]The application authentication code.
applicationDatabyte[]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:

ParameterTypeDescription
valuebyte[]

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:

ParameterTypeDescription
valuejava.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:

ParameterTypeDescription
valuebyte[]