kactoos-jvm / nnl.rocks.kactoos.io / WriterTo
class WriterTo :
Writer
A Writer that encapsulates other destination for the data.
There is no thread-safety guarantee.
Since 0.13
Name | Summary |
---|---|
<init> | WriterTo(path: Path ) WriterTo(file: File ) WriterTo(stream: OutputStream ) WriterTo(output: Output , charset: Charset = Charsets.UTF_8) WriterTo(output: Output , charset: CharSequence ) WriterTo(output: Output , encoder: CharsetEncoder ) WriterTo(target: KScalar < Writer >) A Writer that encapsulates other destination for the data. |
Name | Summary |
---|---|
close | fun close(): Unit |
flush | fun flush(): Unit |
write | fun write(cbuf: CharArray , off: Int , len: Int ): Unit |