Package pixy.image.gif
Class ApplicationExtension
java.lang.Object
pixy.image.gif.ApplicationExtension
public class ApplicationExtension
extends java.lang.Object
GIF Application Extension wrapper
- Version:
- 1.0 03/14/2015
- Author:
- Wen Yu, yuwen_66@yahoo.com
-
Field Summary
Fields Modifier and Type Field Description static byte
BLOCK_SIZE
static byte
EXTENSION_INTRODUCER
static byte
EXTENSION_LABEL
-
Constructor Summary
Constructors Constructor Description ApplicationExtension(byte[] applicationId, byte[] authenticationCode, byte[] data)
-
Method Summary
Modifier and Type Method Description byte[]
getApplicationId()
byte[]
getAuthenticationCode()
byte[]
getData()
void
write(java.io.OutputStream os)
-
Field Details
-
EXTENSION_INTRODUCER
public static final byte EXTENSION_INTRODUCER- See Also:
- Constant Field Values
-
EXTENSION_LABEL
public static final byte EXTENSION_LABEL- See Also:
- Constant Field Values
-
BLOCK_SIZE
public static final byte BLOCK_SIZE- See Also:
- Constant Field Values
-
-
Constructor Details
-
ApplicationExtension
public ApplicationExtension(byte[] applicationId, byte[] authenticationCode, byte[] data)
-
-
Method Details
-
getApplicationId
public byte[] getApplicationId() -
getAuthenticationCode
public byte[] getAuthenticationCode() -
getData
public byte[] getData() -
write
public void write(java.io.OutputStream os) throws java.io.IOException- Throws:
java.io.IOException
-