@ThreadSafe public class ChannelWriter extends Writer
| Constructor and Description |
|---|
ChannelWriter(int bufferSize,
Charset charset,
WritableByteChannel channel) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
void |
write(char[] cbuf,
int off,
int len) |
public ChannelWriter(int bufferSize,
@Nonnull
Charset charset,
@Nonnull
WritableByteChannel channel)
public void write(char[] cbuf,
int off,
int len)
throws IOException
write in class WriterIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class WriterIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class WriterIOExceptionCopyright © 2010-2017 JmxTrans team. All Rights Reserved.