public class AppendableWriterAdapter extends Writer
Appendable as a Writer.| Constructor and Description |
|---|
AppendableWriterAdapter(Appendable appendable)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
void |
write(char[] cbuf,
int off,
int len) |
public AppendableWriterAdapter(Appendable appendable)
appendable - Wrapped Appendable (not null)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 © 2019 The Holon Platform. All rights reserved.