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,
boolean nowrap) |
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) |
readprotected final Inflater inflater
protected byte[] buf
protected static final int DEFAULT_BUFSIZE
protected boolean myinflater
public InflaterInputStream(InputStream in) throws IOException
IOExceptionpublic InflaterInputStream(InputStream in, boolean nowrap) throws IOException
IOExceptionpublic InflaterInputStream(InputStream in, Inflater inflater) throws IOException
IOExceptionpublic InflaterInputStream(InputStream in, Inflater inflater, int size) throws IOException
IOExceptionpublic InflaterInputStream(InputStream in, Inflater inflater, int size, boolean close_in) throws IOException
IOExceptionpublic int read()
throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class FilterInputStreamIOExceptionpublic int available()
throws IOException
available in class FilterInputStreamIOExceptionpublic long skip(long n)
throws IOException
skip in class FilterInputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FilterInputStreamIOExceptionprotected void fill()
throws IOException
IOExceptionpublic boolean markSupported()
markSupported in class FilterInputStreampublic void mark(int readlimit)
mark in class FilterInputStreampublic void reset()
throws IOException
reset in class FilterInputStreamIOExceptionpublic long getTotalIn()
public long getTotalOut()
public byte[] getAvailIn()
public void readHeader()
throws IOException
IOExceptionpublic Inflater getInflater()
Copyright © 2016. All rights reserved.