public class DeflaterChannel
extends java.lang.Object
implements java.nio.channels.WritableByteChannel
| Constructor and Description |
|---|
DeflaterChannel(java.nio.channels.WritableByteChannel out) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
boolean |
isOpen() |
int |
write(java.nio.ByteBuffer src) |
public DeflaterChannel(java.nio.channels.WritableByteChannel out)
public void flush()
throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in interface java.nio.channels.Channeljava.io.IOExceptionpublic boolean isOpen()
isOpen in interface java.nio.channels.Channelpublic int write(java.nio.ByteBuffer src)
throws java.io.IOException
write in interface java.nio.channels.WritableByteChanneljava.io.IOException