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.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in interface java.nio.channels.Channel
java.io.IOException
public boolean isOpen()
isOpen
in interface java.nio.channels.Channel
public int write(java.nio.ByteBuffer src) throws java.io.IOException
write
in interface java.nio.channels.WritableByteChannel
java.io.IOException