Package com.jcraft.jzlib
Class ZOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- java.io.FilterOutputStream
-
- com.jcraft.jzlib.ZOutputStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.io.Flushable
,java.lang.AutoCloseable
@Deprecated public class ZOutputStream extends java.io.FilterOutputStream
Deprecated.use DeflaterOutputStream or InflaterInputStreamZOutputStream
-
-
Constructor Summary
Constructors Constructor Description ZOutputStream(java.io.OutputStream out)
Deprecated.ZOutputStream(java.io.OutputStream out, int level)
Deprecated.ZOutputStream(java.io.OutputStream out, int level, boolean nowrap)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
close()
Deprecated.void
end()
Deprecated.void
finish()
Deprecated.void
flush()
Deprecated.int
getFlushMode()
Deprecated.long
getTotalIn()
Deprecated.long
getTotalOut()
Deprecated.void
setFlushMode(int flush)
Deprecated.void
write(byte[] b, int off, int len)
Deprecated.void
write(int b)
Deprecated.
-
-
-
Constructor Detail
-
ZOutputStream
public ZOutputStream(java.io.OutputStream out) throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
ZOutputStream
public ZOutputStream(java.io.OutputStream out, int level) throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
ZOutputStream
public ZOutputStream(java.io.OutputStream out, int level, boolean nowrap) throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
-
Method Detail
-
write
public void write(int b) throws java.io.IOException
Deprecated.- Overrides:
write
in classjava.io.FilterOutputStream
- Throws:
java.io.IOException
-
write
public void write(byte[] b, int off, int len) throws java.io.IOException
Deprecated.- Overrides:
write
in classjava.io.FilterOutputStream
- Throws:
java.io.IOException
-
getFlushMode
public int getFlushMode()
Deprecated.
-
setFlushMode
public void setFlushMode(int flush)
Deprecated.
-
finish
public void finish() throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
end
public void end()
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.FilterOutputStream
- Throws:
java.io.IOException
-
getTotalIn
public long getTotalIn()
Deprecated.
-
getTotalOut
public long getTotalOut()
Deprecated.
-
flush
public void flush() throws java.io.IOException
Deprecated.- Specified by:
flush
in interfacejava.io.Flushable
- Overrides:
flush
in classjava.io.FilterOutputStream
- Throws:
java.io.IOException
-
-