public final class CountingInputStream extends FilterInputStream
in
Constructor and Description |
---|
CountingInputStream(InputStream in) |
Modifier and Type | Method and Description |
---|---|
long |
getCount() |
void |
mark(int readlimit) |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
long |
skip(long n) |
available, close, markSupported, read
public CountingInputStream(InputStream in)
public long getCount()
public int read() 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
Apache CXF