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.
use DeflaterOutputStream or InflaterInputStream
ZOutputStream
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.ZOutputStream(OutputStream out, int level) Deprecated.ZOutputStream(OutputStream out, int level, boolean nowrap) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Deprecated.voidend()Deprecated.voidfinish()Deprecated.voidflush()Deprecated.intDeprecated.longDeprecated.longDeprecated.voidsetFlushMode(int flush) Deprecated.voidwrite(byte[] b, int off, int len) Deprecated.voidwrite(int b) Deprecated.Methods inherited from class java.io.FilterOutputStream
writeMethods inherited from class java.io.OutputStream
nullOutputStream
-
Field Details
-
bufsize
protected int bufsizeDeprecated. -
flush
protected int flushDeprecated. -
buf
protected byte[] bufDeprecated. -
compress
protected boolean compressDeprecated. -
out
Deprecated.
-
-
Constructor Details
-
ZOutputStream
Deprecated.- Throws:
IOException
-
ZOutputStream
Deprecated.- Throws:
IOException
-
ZOutputStream
Deprecated.- Throws:
IOException
-
-
Method Details
-
write
Deprecated.- Overrides:
writein classFilterOutputStream- Throws:
IOException
-
write
Deprecated.- Overrides:
writein classFilterOutputStream- Throws:
IOException
-
getFlushMode
public int getFlushMode()Deprecated. -
setFlushMode
public void setFlushMode(int flush) Deprecated. -
finish
Deprecated.- Throws:
IOException
-
end
public void end()Deprecated. -
close
Deprecated.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFilterOutputStream- Throws:
IOException
-
getTotalIn
public long getTotalIn()Deprecated. -
getTotalOut
public long getTotalOut()Deprecated. -
flush
Deprecated.- Specified by:
flushin interfaceFlushable- Overrides:
flushin classFilterOutputStream- Throws:
IOException
-