class APNGReader.PNGInputStream
extends java.io.InputStream
| Modifier and Type | Field and Description |
|---|---|
private int |
blockLength |
private int |
blockPointer |
private java.lang.String |
blockType |
private int |
currentBlock |
private int |
fctlCount |
private boolean |
fdatValid |
private int |
imageNumber |
| Constructor and Description |
|---|
PNGInputStream(java.lang.String blockType) |
PNGInputStream(java.lang.String blockType,
int imageNumber) |
| Modifier and Type | Method and Description |
|---|---|
private void |
advanceBlock() |
int |
available() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
byte |
readByte() |
private int currentBlock
private int blockPointer
private int blockLength
private java.lang.String blockType
private int imageNumber
private int fctlCount
private boolean fdatValid
public PNGInputStream(java.lang.String blockType)
throws java.io.IOException
java.io.IOExceptionpublic PNGInputStream(java.lang.String blockType,
int imageNumber)
throws java.io.IOException
java.io.IOExceptionpublic int available()
throws java.io.IOException
available in class java.io.InputStreamjava.io.IOExceptionpublic int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic byte readByte()
throws java.io.IOException
java.io.IOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionprivate void advanceBlock()
throws java.io.IOException
java.io.IOExceptionCopyright © 2023 Open Microscopy Environment