public abstract class CompressorInputStream extends InputStream
| Constructor and Description | 
|---|
| CompressorInputStream() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | count(int read)Increments the counter of already read bytes. | 
| protected void | count(long read)Increments the counter of already read bytes. | 
| long | getBytesRead()Returns the current number of bytes read from this stream. | 
| int | getCount()Deprecated. 
 this method may yield wrong results for large
 archives, use #getBytesRead instead | 
| long | getUncompressedCount()Returns the amount of raw or compressed bytes read by the stream. | 
| protected void | pushedBackBytes(long pushedBack)Decrements the counter of already read bytes. | 
available, close, mark, markSupported, read, read, read, reset, skippublic CompressorInputStream()
protected void count(int read)
read - the number of bytes readprotected void count(long read)
read - the number of bytes readprotected void pushedBackBytes(long pushedBack)
pushedBack - the number of bytes pushed back.@Deprecated public int getCount()
public long getBytesRead()
public long getUncompressedCount()
This implementation invokes getBytesRead().
Provides half of InputStreamStatistics
 without forcing subclasses to implement the other half.
Copyright © 2018 The Apache Software Foundation. All rights reserved.