Package com.jcraft.jzlib
Class ZInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- com.jcraft.jzlib.ZInputStream
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
@Deprecated public class ZInputStream extends java.io.FilterInputStreamDeprecated.use DeflaterOutputStream or InflaterInputStreamZInputStream
-
-
Constructor Summary
Constructors Constructor Description ZInputStream(java.io.InputStream in)Deprecated.ZInputStream(java.io.InputStream in, boolean nowrap)Deprecated.ZInputStream(java.io.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.
-
-
-
Field Detail
-
flush
protected int flush
Deprecated.
-
compress
protected boolean compress
Deprecated.
-
in
protected java.io.InputStream in
Deprecated.
-
deflater
protected Deflater deflater
Deprecated.
-
iis
protected InflaterInputStream iis
Deprecated.
-
-
Constructor Detail
-
ZInputStream
public ZInputStream(java.io.InputStream in) throws java.io.IOExceptionDeprecated.- Throws:
java.io.IOException
-
ZInputStream
public ZInputStream(java.io.InputStream in, boolean nowrap) throws java.io.IOExceptionDeprecated.- Throws:
java.io.IOException
-
ZInputStream
public ZInputStream(java.io.InputStream in, int level) throws java.io.IOExceptionDeprecated.- Throws:
java.io.IOException
-
-
Method Detail
-
read
public int read() throws java.io.IOExceptionDeprecated.- Overrides:
readin classjava.io.FilterInputStream- Throws:
java.io.IOException
-
read
public int read(byte[] b, int off, int len) throws java.io.IOExceptionDeprecated.- Overrides:
readin classjava.io.FilterInputStream- Throws:
java.io.IOException
-
skip
public long skip(long n) throws java.io.IOExceptionDeprecated.- Overrides:
skipin classjava.io.FilterInputStream- Throws:
java.io.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 java.io.IOExceptionDeprecated.- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Overrides:
closein classjava.io.FilterInputStream- Throws:
java.io.IOException
-
-