Kactoos

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

<init>

InputStreamOf(path: Path)

Ctor.

Parameters

path - The pathInputStreamOf(file: File)

Ctor.

Parameters

file - The fileInputStreamOf(url: URL)

Ctor.

Parameters

url - The URLInputStreamOf(uri: URI)

Ctor.

Parameters

uri - The URIInputStreamOf(bytes: Bytes) InputStreamOf(bytes: ByteArray)

Ctor.

Parameters

bytes - The textInputStreamOf(text: Text, charset: Charset = Charsets.UTF_8) InputStreamOf(text: Text, charset: CharSequence) InputStreamOf(text: CharSequence, charset: Charset) InputStreamOf(text: CharSequence, charset: CharSequence)

Ctor.

Parameters

text - The text

charset - CharsetInputStreamOf(text: CharSequence)

Ctor.

Parameters

text - The textInputStreamOf(rdr: Reader, charset: Charset = Charsets.UTF_8) InputStreamOf(rdr: Reader, charset: CharSequence)

Ctor.

Parameters

rdr - Reader

charset - Charset

Since 0.13.2

InputStreamOf(rdr: Reader, cset: Charset, max: Int)

Ctor.

Parameters

rdr - Reader

cset - Charset

max - Buffer size

Since 0.13.2

InputStreamOf(rdr: Reader, max: Int)

Ctor.

Parameters

rdr - Reader

max - Buffer size

Since 0.13.2

InputStreamOf(rdr: Reader, charset: CharSequence, max: Int)

Ctor.

Parameters

rdr - Reader

charset - Charset

max - Buffer size

Since 0.13.2

InputStreamOf(input: Input)

Ctor.

Parameters

input - The inputInputStreamOf(source: KScalar<InputStream>)

An InputStream that encapsulates other sources of data.

There is no thread-safety guarantee.

Since 0.3