ReusableGZIPInputStream
public class ResettableGZIPInputStream
extends java.util.zip.InflaterInputStream
コンストラクタ | 説明 |
---|---|
ResettableGZIPInputStream() |
Build a new GZIP stream without a bound compressed stream.
|
ResettableGZIPInputStream(java.io.InputStream compressedStream) |
Warning - blocking!
|
修飾子とタイプ | メソッド | 説明 |
---|---|---|
void |
close() |
Does NOT call super.close(), as it cannot be reused if we do that.
|
boolean |
getFinished() |
Moved from i2ptunnel HTTPResponseOutputStream.InternalGZIPInputStream
|
long |
getRemaining() |
Moved from i2ptunnel HTTPResponseOutputStream.InternalGZIPInputStream
|
long |
getTotalExpanded() |
Moved from i2ptunnel HTTPResponseOutputStream.InternalGZIPInputStream
|
long |
getTotalRead() |
Moved from i2ptunnel HTTPResponseOutputStream.InternalGZIPInputStream
|
void |
initialize(java.io.InputStream compressedStream) |
Blocking call to initialize this stream with the data from the given
compressed stream.
|
int |
read() |
|
int |
read(byte[] buf) |
|
int |
read(byte[] buf,
int off,
int len) |
|
java.lang.String |
toString() |
Moved from i2ptunnel HTTPResponseOutputStream.InternalGZIPInputStream
|
public ResettableGZIPInputStream()
public ResettableGZIPInputStream(java.io.InputStream compressedStream) throws java.io.IOException
java.io.IOException
public void initialize(java.io.InputStream compressedStream) throws java.io.IOException
java.io.IOException
public int read() throws java.io.IOException
read
クラス内 java.util.zip.InflaterInputStream
java.io.IOException
public int read(byte[] buf) throws java.io.IOException
read
クラス内 java.io.FilterInputStream
java.io.IOException
public int read(byte[] buf, int off, int len) throws java.io.IOException
read
クラス内 java.util.zip.InflaterInputStream
java.io.IOException
public long getTotalRead()
public long getTotalExpanded()
public long getRemaining()
public boolean getFinished()
public void close() throws java.io.IOException
close
クラス内 java.util.zip.InflaterInputStream
java.io.IOException
public java.lang.String toString()
toString
クラス内 java.lang.Object