org.openscience.jvxl
class MonitorInputStream extends FilterInputStream
Modifier and Type | Field and Description |
---|---|
(package private) int |
length |
(package private) int |
markPosition |
(package private) int |
position |
(package private) int |
readEventCount |
(package private) long |
timeBegin |
in
Constructor and Description |
---|
MonitorInputStream(InputStream in,
int length) |
Modifier and Type | Method and Description |
---|---|
(package private) int |
getLength() |
(package private) int |
getPercentageRead() |
(package private) int |
getPosition() |
(package private) int |
getReadingTimeMillis() |
void |
mark(int readlimit) |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
long |
skip(long n) |
available, close, markSupported
int length
int position
int markPosition
int readEventCount
long timeBegin
MonitorInputStream(InputStream in, int length)
public int read() throws IOException
read
in class FilterInputStream
IOException
public int read(byte[] b) throws IOException
read
in class FilterInputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class FilterInputStream
IOException
public long skip(long n) throws IOException
skip
in class FilterInputStream
IOException
public void mark(int readlimit)
mark
in class FilterInputStream
public void reset() throws IOException
reset
in class FilterInputStream
IOException
int getPosition()
int getLength()
int getPercentageRead()
int getReadingTimeMillis()