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