class InflaterInputStreamWithStatistics extends java.util.zip.InflaterInputStream implements InputStreamStatistics
Modifier and Type | Field and Description |
---|---|
private long |
compressedCount |
private long |
uncompressedCount |
Constructor and Description |
---|
InflaterInputStreamWithStatistics(java.io.InputStream in) |
InflaterInputStreamWithStatistics(java.io.InputStream in,
java.util.zip.Inflater inf) |
InflaterInputStreamWithStatistics(java.io.InputStream in,
java.util.zip.Inflater inf,
int size) |
Modifier and Type | Method and Description |
---|---|
protected void |
fill() |
long |
getCompressedCount() |
long |
getUncompressedCount() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
private long compressedCount
private long uncompressedCount
public InflaterInputStreamWithStatistics(java.io.InputStream in)
public InflaterInputStreamWithStatistics(java.io.InputStream in, java.util.zip.Inflater inf)
public InflaterInputStreamWithStatistics(java.io.InputStream in, java.util.zip.Inflater inf, int size)
protected void fill() throws java.io.IOException
fill
in class java.util.zip.InflaterInputStream
java.io.IOException
public int read() throws java.io.IOException
read
in class java.util.zip.InflaterInputStream
java.io.IOException
public int read(byte[] b, int off, int len) throws java.io.IOException
read
in class java.util.zip.InflaterInputStream
java.io.IOException
public long getCompressedCount()
getCompressedCount
in interface InputStreamStatistics
public long getUncompressedCount()
getUncompressedCount
in interface InputStreamStatistics