Kactoos

kactoos-jvm / nnl.rocks.kactoos.io / WriterTo / <init>

<init>

WriterTo(path: Path)

Parameters

path - The pathWriterTo(file: File)

Parameters

file - The fileWriterTo(stream: OutputStream)

Parameters

stream - The outputWriterTo(output: Output, charset: Charset = Charsets.UTF_8) WriterTo(output: Output, charset: CharSequence)

Parameters

output - The input

charset - The charsetWriterTo(output: Output, encoder: CharsetEncoder)

Parameters

output - The input

encoder - Charset encoder

Since 0.13.1

WriterTo(target: KScalar<Writer>)

A Writer that encapsulates other destination for the data.

There is no thread-safety guarantee.

Since 0.13