@Deprecated
public class ZOutputStream
extends java.io.FilterOutputStream
Modifier and Type | Field and Description |
---|---|
protected byte[] |
buf
Deprecated.
|
private byte[] |
buf1
Deprecated.
|
protected int |
bufsize
Deprecated.
|
protected boolean |
compress
Deprecated.
|
private DeflaterOutputStream |
dos
Deprecated.
|
private boolean |
end
Deprecated.
|
protected int |
flush
Deprecated.
|
private Inflater |
inflater
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
private boolean end
private DeflaterOutputStream dos
private Inflater inflater
private byte[] buf1
public ZOutputStream(java.io.OutputStream out) throws java.io.IOException
java.io.IOException
public ZOutputStream(java.io.OutputStream out, int level) throws java.io.IOException
java.io.IOException
public ZOutputStream(java.io.OutputStream out, int level, boolean nowrap) throws java.io.IOException
java.io.IOException
public void write(int b) throws java.io.IOException
write
in class java.io.FilterOutputStream
java.io.IOException
public void write(byte[] b, int off, int len) throws java.io.IOException
write
in class java.io.FilterOutputStream
java.io.IOException
public int getFlushMode()
public void setFlushMode(int flush)
public void finish() throws java.io.IOException
java.io.IOException
public void end()
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.FilterOutputStream
java.io.IOException
public long getTotalIn()
public long getTotalOut()
public void flush() throws java.io.IOException
flush
in interface java.io.Flushable
flush
in class java.io.FilterOutputStream
java.io.IOException