public class FilterWritableByteChannel extends Object implements WritableByteChannel
| Modifier and Type | Field and Description |
|---|---|
protected WritableByteChannel |
channel |
| Modifier | Constructor and Description |
|---|---|
protected |
FilterWritableByteChannel(WritableByteChannel channel)
Creates an instance.
|
protected WritableByteChannel channel
protected FilterWritableByteChannel(WritableByteChannel channel)
channel - the underlying channel, or null if this instance
is to be created without an underlying channel.public int write(ByteBuffer src) throws IOException
write in interface WritableByteChannelIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface ChannelIOExceptionCopyright © 2011-2013. All Rights Reserved.