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.FilterInputStream
Deprecated.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 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.
-
-
-
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.IOException
Deprecated.- Throws:
java.io.IOException
-
ZInputStream
public ZInputStream(java.io.InputStream in, boolean nowrap) throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
ZInputStream
public ZInputStream(java.io.InputStream in, int level) throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
-
Method Detail
-
read
public int read() throws java.io.IOException
Deprecated.- Overrides:
read
in classjava.io.FilterInputStream
- Throws:
java.io.IOException
-
read
public int read(byte[] b, int off, int len) throws java.io.IOException
Deprecated.- Overrides:
read
in classjava.io.FilterInputStream
- Throws:
java.io.IOException
-
skip
public long skip(long n) throws java.io.IOException
Deprecated.- Overrides:
skip
in 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.IOException
Deprecated.- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Overrides:
close
in classjava.io.FilterInputStream
- Throws:
java.io.IOException
-
-