public class CountingInputStream
extends java.io.InputStream
Constructor and Description |
---|
CountingInputStream(java.io.InputStream inputStream) |
Modifier and Type | Method and Description |
---|---|
int |
available() |
void |
close() |
long |
getCount() |
void |
mark(int readLimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int length) |
void |
reset() |
long |
skip(long n) |
public int read()
read
in class java.io.InputStream
public int read(byte[] b)
read
in class java.io.InputStream
public int read(byte[] b, int off, int length)
read
in class java.io.InputStream
public long skip(long n)
skip
in class java.io.InputStream
public int available()
available
in class java.io.InputStream
public void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.InputStream
public void mark(int readLimit)
mark
in class java.io.InputStream
public void reset()
reset
in class java.io.InputStream
public boolean markSupported()
markSupported
in class java.io.InputStream
public long getCount()