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, markSupportedint length
int position
int markPosition
int readEventCount
long timeBegin
MonitorInputStream(InputStream in, int length)
public int read()
throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class FilterInputStreamIOExceptionpublic long skip(long n)
throws IOException
skip in class FilterInputStreamIOExceptionpublic void mark(int readlimit)
mark in class FilterInputStreampublic void reset()
throws IOException
reset in class FilterInputStreamIOExceptionint getPosition()
int getLength()
int getPercentageRead()
int getReadingTimeMillis()