Package com.jcraft.jzlib
Class ZInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- com.jcraft.jzlib.ZInputStream
-
- All Implemented Interfaces:
Closeable,AutoCloseable
@Deprecated public class ZInputStream extends FilterInputStream
Deprecated.use DeflaterOutputStream or InflaterInputStreamZInputStream
-
-
Field Summary
Fields Modifier and Type Field Description protected booleancompressDeprecated.protected DeflaterdeflaterDeprecated.protected intflushDeprecated.protected InflaterInputStreamiisDeprecated.protected InputStreaminDeprecated.
-
Constructor Summary
Constructors Constructor Description ZInputStream(InputStream in)Deprecated.ZInputStream(InputStream in, boolean nowrap)Deprecated.ZInputStream(InputStream in, int level)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidclose()Deprecated.intgetFlushMode()Deprecated.longgetTotalIn()Deprecated.longgetTotalOut()Deprecated.intread()Deprecated.intread(byte[] b, int off, int len)Deprecated.voidsetFlushMode(int flush)Deprecated.longskip(long n)Deprecated.-
Methods inherited from class java.io.FilterInputStream
available, mark, markSupported, read, reset
-
-
-
-
Field Detail
-
flush
protected int flush
Deprecated.
-
compress
protected boolean compress
Deprecated.
-
in
protected InputStream in
Deprecated.
-
deflater
protected Deflater deflater
Deprecated.
-
iis
protected InflaterInputStream iis
Deprecated.
-
-
Constructor Detail
-
ZInputStream
public ZInputStream(InputStream in) throws IOException
Deprecated.- Throws:
IOException
-
ZInputStream
public ZInputStream(InputStream in, boolean nowrap) throws IOException
Deprecated.- Throws:
IOException
-
ZInputStream
public ZInputStream(InputStream in, int level) throws IOException
Deprecated.- Throws:
IOException
-
-
Method Detail
-
read
public int read() throws IOExceptionDeprecated.- Overrides:
readin classFilterInputStream- Throws:
IOException
-
read
public int read(byte[] b, int off, int len) throws IOExceptionDeprecated.- Overrides:
readin classFilterInputStream- Throws:
IOException
-
skip
public long skip(long n) throws IOExceptionDeprecated.- Overrides:
skipin classFilterInputStream- Throws:
IOException
-
getFlushMode
public int getFlushMode()
Deprecated.
-
setFlushMode
public void setFlushMode(int flush)
Deprecated.
-
getTotalIn
public long getTotalIn()
Deprecated.
-
getTotalOut
public long getTotalOut()
Deprecated.
-
close
public void close() throws IOExceptionDeprecated.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFilterInputStream- Throws:
IOException
-
-