public class Deflate64CompressorInputStream extends CompressorInputStream implements InputStreamStatistics
| Modifier and Type | Field and Description |
|---|---|
private long |
compressedBytesRead |
private HuffmanDecoder |
decoder |
private byte[] |
oneByte |
private java.io.InputStream |
originalStream |
| Constructor and Description |
|---|
Deflate64CompressorInputStream(HuffmanDecoder decoder) |
Deflate64CompressorInputStream(java.io.InputStream in)
Constructs a Deflate64CompressorInputStream.
|
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
private void |
closeDecoder() |
long |
getCompressedCount() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
count, count, getBytesRead, getCount, getUncompressedCount, pushedBackBytesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetUncompressedCountprivate java.io.InputStream originalStream
private HuffmanDecoder decoder
private long compressedBytesRead
private final byte[] oneByte
public Deflate64CompressorInputStream(java.io.InputStream in)
in - the stream to read fromDeflate64CompressorInputStream(HuffmanDecoder decoder)
public int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.EOFException - if the underlying stream is exhausted before the end of defalted data was reached.java.io.IOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class java.io.InputStreamjava.io.EOFException - if the underlying stream is exhausted before the end of defalted data was reached.java.io.IOExceptionpublic int available()
throws java.io.IOException
available in class java.io.InputStreamjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.InputStreamjava.io.IOExceptionpublic long getCompressedCount()
getCompressedCount in interface InputStreamStatisticsprivate void closeDecoder()