public class InflaterInputStream extends FilterInputStream
Modifier and Type | Field and Description |
---|---|
protected byte[] |
buf |
protected static int |
DEFAULT_BUFSIZE |
protected Inflater |
inflater |
protected boolean |
myinflater |
in
Constructor and Description |
---|
InflaterInputStream(InputStream in) |
InflaterInputStream(InputStream in,
Inflater inflater) |
InflaterInputStream(InputStream in,
Inflater inflater,
int size) |
InflaterInputStream(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) |
read
protected final Inflater inflater
protected byte[] buf
protected static final int DEFAULT_BUFSIZE
protected boolean myinflater
public InflaterInputStream(InputStream in) throws IOException
IOException
public InflaterInputStream(InputStream in, Inflater inflater) throws IOException
IOException
public InflaterInputStream(InputStream in, Inflater inflater, int size) throws IOException
IOException
public InflaterInputStream(InputStream in, Inflater inflater, int size, boolean close_in) throws IOException
IOException
public int read() throws IOException
read
in class FilterInputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class FilterInputStream
IOException
public int available() throws IOException
available
in class FilterInputStream
IOException
public long skip(long n) throws IOException
skip
in class FilterInputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class FilterInputStream
IOException
protected void fill() throws IOException
IOException
public boolean markSupported()
markSupported
in class FilterInputStream
public void mark(int readlimit)
mark
in class FilterInputStream
public void reset() throws IOException
reset
in class FilterInputStream
IOException
public long getTotalIn()
public long getTotalOut()
public byte[] getAvailIn()
public void readHeader() throws IOException
IOException
public Inflater getInflater()
Copyright © 2013 jcraft. All Rights Reserved.