class ImageExtractor.GifFileReader.ApplicationExtensionReader extends ImageExtractor.GifFileReader.ExtensionReader
Constructor and Description |
---|
ApplicationExtensionReader() |
Modifier and Type | Method and Description |
---|---|
boolean |
hasSignature(byte firstByte,
byte secondByte)
Tests that the given two bytes match this extension signature.
|
boolean |
skipBlock(java.io.RandomAccessFile raf)
Skip the target block of GIF data.
|
testExtension
public boolean hasSignature(byte firstByte, byte secondByte)
hasSignature
in class ImageExtractor.GifFileReader.ExtensionReader
firstByte
- The first byte of the two bytes signaturesecondByte
- The second byte of the two bytes signaturepublic boolean skipBlock(java.io.RandomAccessFile raf) throws java.io.IOException
skipBlock
in class ImageExtractor.GifFileReader.ExtensionReader
raf
- The data represented by the random access filejava.io.IOException
- If IO error occurs during this reading operation.