public class TDeflaterOutputStream extends FilterOutputStream
Modifier and Type | Field and Description |
---|---|
protected byte[] |
buf |
protected TDeflater |
def |
out
Constructor and Description |
---|
TDeflaterOutputStream(OutputStream os) |
TDeflaterOutputStream(OutputStream os,
TDeflater def) |
TDeflaterOutputStream(OutputStream os,
TDeflater def,
int bsize) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected void |
deflate() |
void |
finish() |
void |
write(byte[] buffer,
int off,
int nbytes) |
void |
write(int i) |
flush, write
protected byte[] buf
protected TDeflater def
public TDeflaterOutputStream(OutputStream os, TDeflater def)
public TDeflaterOutputStream(OutputStream os)
public TDeflaterOutputStream(OutputStream os, TDeflater def, int bsize)
protected void deflate() throws IOException
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class FilterOutputStream
IOException
public void finish() throws IOException
IOException
public void write(int i) throws IOException
write
in class FilterOutputStream
IOException
public void write(byte[] buffer, int off, int nbytes) throws IOException
write
in class FilterOutputStream
IOException
Copyright © 2019. All rights reserved.