@Deprecated
public class ZOutputStream
extends java.io.FilterOutputStream
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
buf
Deprecated.
|
protected int |
bufsize
Deprecated.
|
protected boolean |
compress
Deprecated.
|
protected int |
flush
Deprecated.
|
protected java.io.OutputStream |
out
Deprecated.
|
| Constructor and 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.
|
| Modifier and Type | Method and 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.
|
protected int bufsize
protected int flush
protected byte[] buf
protected boolean compress
protected java.io.OutputStream out
public ZOutputStream(java.io.OutputStream out)
throws java.io.IOException
java.io.IOExceptionpublic ZOutputStream(java.io.OutputStream out,
int level)
throws java.io.IOException
java.io.IOExceptionpublic ZOutputStream(java.io.OutputStream out,
int level,
boolean nowrap)
throws java.io.IOException
java.io.IOExceptionpublic void write(int b)
throws java.io.IOException
write in class java.io.FilterOutputStreamjava.io.IOExceptionpublic void write(byte[] b,
int off,
int len)
throws java.io.IOException
write in class java.io.FilterOutputStreamjava.io.IOExceptionpublic int getFlushMode()
public void setFlushMode(int flush)
public void finish()
throws java.io.IOException
java.io.IOExceptionpublic void end()
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.FilterOutputStreamjava.io.IOExceptionpublic long getTotalIn()
public long getTotalOut()
public void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.FilterOutputStreamjava.io.IOException