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.FilterOutputStreamDeprecated.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 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.
-
-
-
Constructor Detail
-
ZOutputStream
public ZOutputStream(java.io.OutputStream out) throws java.io.IOExceptionDeprecated.- Throws:
java.io.IOException
-
ZOutputStream
public ZOutputStream(java.io.OutputStream out, int level) throws java.io.IOExceptionDeprecated.- Throws:
java.io.IOException
-
ZOutputStream
public ZOutputStream(java.io.OutputStream out, int level, boolean nowrap) throws java.io.IOExceptionDeprecated.- Throws:
java.io.IOException
-
-
Method Detail
-
write
public void write(int b) throws java.io.IOExceptionDeprecated.- Overrides:
writein classjava.io.FilterOutputStream- Throws:
java.io.IOException
-
write
public void write(byte[] b, int off, int len) throws java.io.IOExceptionDeprecated.- Overrides:
writein 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.IOExceptionDeprecated.- Throws:
java.io.IOException
-
end
public void end()
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.FilterOutputStream- Throws:
java.io.IOException
-
getTotalIn
public long getTotalIn()
Deprecated.
-
getTotalOut
public long getTotalOut()
Deprecated.
-
flush
public void flush() throws java.io.IOExceptionDeprecated.- Specified by:
flushin interfacejava.io.Flushable- Overrides:
flushin classjava.io.FilterOutputStream- Throws:
java.io.IOException
-
-