|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.InputStream org.apache.commons.compress.compressors.CompressorInputStream
public abstract class CompressorInputStream
Constructor Summary | |
---|---|
CompressorInputStream()
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.io.InputStream |
---|
available, close, mark, markSupported, read, read, read, reset, skip |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompressorInputStream()
Method Detail |
---|
protected void count(int read)
read
- the number of bytes readprotected void count(long read)
read
- the number of bytes readpublic int getCount()
public long getBytesRead()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |