public static class BackgroundUnzipper.CountingInputStream extends FilterInputStream
Modifier and Type | Field and Description |
---|---|
private long |
totalBytes |
in
Modifier | Constructor and Description |
---|---|
protected |
CountingInputStream(InputStream in) |
Modifier and Type | Method and Description |
---|---|
long |
getTotalBytesRead() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
available, close, mark, markSupported, reset, skip
private long totalBytes
protected CountingInputStream(InputStream in)
public long getTotalBytesRead()
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