public class InflaterInputStream
extends java.io.FilterInputStream
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
buf |
protected static int |
DEFAULT_BUFSIZE |
protected Inflater |
inflater |
protected boolean |
myinflater |
| Constructor and Description |
|---|
InflaterInputStream(java.io.InputStream in) |
InflaterInputStream(java.io.InputStream in,
boolean nowrap) |
InflaterInputStream(java.io.InputStream in,
Inflater inflater) |
InflaterInputStream(java.io.InputStream in,
Inflater inflater,
int size) |
InflaterInputStream(java.io.InputStream in,
Inflater inflater,
int size,
boolean close_in) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
protected void |
fill() |
byte[] |
getAvailIn() |
Inflater |
getInflater() |
long |
getTotalIn() |
long |
getTotalOut() |
void |
mark(int readlimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
readHeader() |
void |
reset() |
long |
skip(long n) |
protected final Inflater inflater
protected byte[] buf
protected static final int DEFAULT_BUFSIZE
protected boolean myinflater
public InflaterInputStream(java.io.InputStream in)
throws java.io.IOException
java.io.IOExceptionpublic InflaterInputStream(java.io.InputStream in,
boolean nowrap)
throws java.io.IOException
java.io.IOExceptionpublic InflaterInputStream(java.io.InputStream in,
Inflater inflater)
throws java.io.IOException
java.io.IOExceptionpublic InflaterInputStream(java.io.InputStream in,
Inflater inflater,
int size)
throws java.io.IOException
java.io.IOExceptionpublic InflaterInputStream(java.io.InputStream in,
Inflater inflater,
int size,
boolean close_in)
throws java.io.IOException
java.io.IOExceptionpublic int read()
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOExceptionpublic int available()
throws java.io.IOException
available in class java.io.FilterInputStreamjava.io.IOExceptionpublic long skip(long n)
throws java.io.IOException
skip in class java.io.FilterInputStreamjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.FilterInputStreamjava.io.IOExceptionprotected void fill()
throws java.io.IOException
java.io.IOExceptionpublic boolean markSupported()
markSupported in class java.io.FilterInputStreampublic void mark(int readlimit)
mark in class java.io.FilterInputStreampublic void reset()
throws java.io.IOException
reset in class java.io.FilterInputStreamjava.io.IOExceptionpublic long getTotalIn()
public long getTotalOut()
public byte[] getAvailIn()
public void readHeader()
throws java.io.IOException
java.io.IOExceptionpublic Inflater getInflater()