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
-
Constructor Summary
ConstructorDescriptionDeprecated.ZOutputStream
(OutputStream out, int level) Deprecated.ZOutputStream
(OutputStream out, int level, boolean nowrap) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Deprecated.void
end()
Deprecated.void
finish()
Deprecated.void
flush()
Deprecated.int
Deprecated.long
Deprecated.long
Deprecated.void
setFlushMode
(int flush) Deprecated.void
write
(byte[] b, int off, int len) Deprecated.void
write
(int b) Deprecated.Methods inherited from class java.io.FilterOutputStream
write
Methods 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:
write
in classFilterOutputStream
- Throws:
IOException
-
write
Deprecated.- Overrides:
write
in 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:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classFilterOutputStream
- Throws:
IOException
-
getTotalIn
public long getTotalIn()Deprecated. -
getTotalOut
public long getTotalOut()Deprecated. -
flush
Deprecated.- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classFilterOutputStream
- Throws:
IOException
-