Package com.jcraft.jzlib
Class ZOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- java.io.FilterOutputStream
-
- com.jcraft.jzlib.ZOutputStream
-
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
@Deprecated public class ZOutputStream extends FilterOutputStream
Deprecated.use DeflaterOutputStream or InflaterInputStreamZOutputStream
-
-
Constructor Summary
Constructors Constructor Description ZOutputStream(OutputStream out)Deprecated.ZOutputStream(OutputStream out, int level)Deprecated.ZOutputStream(OutputStream out, int level, boolean nowrap)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidclose()Deprecated.voidend()Deprecated.voidfinish()Deprecated.voidflush()Deprecated.intgetFlushMode()Deprecated.longgetTotalIn()Deprecated.longgetTotalOut()Deprecated.voidsetFlushMode(int flush)Deprecated.voidwrite(byte[] b, int off, int len)Deprecated.voidwrite(int b)Deprecated.-
Methods inherited from class java.io.FilterOutputStream
write
-
-
-
-
Field Detail
-
bufsize
protected int bufsize
Deprecated.
-
flush
protected int flush
Deprecated.
-
buf
protected byte[] buf
Deprecated.
-
compress
protected boolean compress
Deprecated.
-
out
protected OutputStream out
Deprecated.
-
-
Constructor Detail
-
ZOutputStream
public ZOutputStream(OutputStream out) throws IOException
Deprecated.- Throws:
IOException
-
ZOutputStream
public ZOutputStream(OutputStream out, int level) throws IOException
Deprecated.- Throws:
IOException
-
ZOutputStream
public ZOutputStream(OutputStream out, int level, boolean nowrap) throws IOException
Deprecated.- Throws:
IOException
-
-
Method Detail
-
write
public void write(int b) throws IOExceptionDeprecated.- Overrides:
writein classFilterOutputStream- Throws:
IOException
-
write
public void write(byte[] b, int off, int len) throws IOExceptionDeprecated.- Overrides:
writein classFilterOutputStream- Throws:
IOException
-
getFlushMode
public int getFlushMode()
Deprecated.
-
setFlushMode
public void setFlushMode(int flush)
Deprecated.
-
finish
public void finish() throws IOExceptionDeprecated.- Throws:
IOException
-
end
public void end()
Deprecated.
-
close
public void close() throws IOExceptionDeprecated.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFilterOutputStream- Throws:
IOException
-
getTotalIn
public long getTotalIn()
Deprecated.
-
getTotalOut
public long getTotalOut()
Deprecated.
-
flush
public void flush() throws IOExceptionDeprecated.- Specified by:
flushin interfaceFlushable- Overrides:
flushin classFilterOutputStream- Throws:
IOException
-
-