Kactoos

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

<init>

OutputStreamTo(path: Path)

Parameters

path - The pathOutputStreamTo(file: File)

Parameters

file - The fileOutputStreamTo(wtr: Writer, charset: Charset) OutputStreamTo(wtr: Writer, charset: CharSequence)

Parameters

wtr - Writer

charset - Charset

Since 0.13.1

OutputStreamTo(wtr: Writer)OutputStreamTo(wtr: Writer, charset: Charset, size: Int) OutputStreamTo(wtr: Writer, charset: CharSequence, size: Int)

Parameters

wtr - Reader

charset - Charset

size - Buffer size

Since 0.13.1

OutputStreamTo(wtr: Writer, ddr: CharsetDecoder, size: Int)

Parameters

wtr - Reader

ddr - Charset decoder

size - Buffer size

Since 0.13.1

OutputStreamTo(output: Output)

Parameters

output - The inputOutputStreamTo(target: KScalar<OutputStream>)

An OutputStream that encapsulates other destination for the data.

There is no thread-safety guarantee.

Since 0.3