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.IOException
public PNGInputStream(java.lang.String blockType, int imageNumber) throws java.io.IOException
java.io.IOException
public int available() throws java.io.IOException
available
in class java.io.InputStream
java.io.IOException
public int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public byte readByte() throws java.io.IOException
java.io.IOException
public int read(byte[] b, int off, int len) throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
private void advanceBlock() throws java.io.IOException
java.io.IOException
Copyright © 2020 Open Microscopy Environment