@Deprecated
public class ZInputStream
extends java.io.FilterInputStream
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
compress
Deprecated.
|
protected Deflater |
deflater
Deprecated.
|
protected int |
flush
Deprecated.
|
protected InflaterInputStream |
iis
Deprecated.
|
protected java.io.InputStream |
in
Deprecated.
|
| Constructor and Description |
|---|
ZInputStream(java.io.InputStream in)
Deprecated.
|
ZInputStream(java.io.InputStream in,
boolean nowrap)
Deprecated.
|
ZInputStream(java.io.InputStream in,
int level)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Deprecated.
|
int |
getFlushMode()
Deprecated.
|
long |
getTotalIn()
Deprecated.
|
long |
getTotalOut()
Deprecated.
|
int |
read()
Deprecated.
|
int |
read(byte[] b,
int off,
int len)
Deprecated.
|
void |
setFlushMode(int flush)
Deprecated.
|
long |
skip(long n)
Deprecated.
|
protected int flush
protected boolean compress
protected java.io.InputStream in
protected Deflater deflater
protected InflaterInputStream iis
public ZInputStream(java.io.InputStream in)
throws java.io.IOException
java.io.IOExceptionpublic ZInputStream(java.io.InputStream in,
boolean nowrap)
throws java.io.IOException
java.io.IOExceptionpublic ZInputStream(java.io.InputStream in,
int level)
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 long skip(long n)
throws java.io.IOException
skip in class java.io.FilterInputStreamjava.io.IOExceptionpublic int getFlushMode()
public void setFlushMode(int flush)
public long getTotalIn()
public long getTotalOut()
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.FilterInputStreamjava.io.IOException