Kactoos

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

<init>

InputOf(file: File)

Parameters

file - The fileInputOf(path: Path)

Parameters

path - The pathInputOf(uri: URI)

Parameters

uri - The URIInputOf(url: URL)

Parameters

url - The URLInputOf(scalar: KScalar<URL>)

Parameters

scalar - The urlInputOf(rdr: Reader)

Parameters

rdr - ReaderInputOf(rdr: Reader, charset: Charset) InputOf(rdr: Reader, charset: CharSequence)

Parameters

rdr - Reader

charset - CharsetInputOf(rdr: Reader, max: Int)

Parameters

rdr - Reader

max - Buffer size

Since 0.13.3

InputOf(rdr: Reader, charset: Charset, max: Int) InputOf(rdr: Reader, charset: CharSequence, max: Int)

Parameters

rdr - Reader

charset - Charset

max - Buffer sizeInputOf(vararg chars: Char)

Parameters

chars - The charsInputOf(chars: CharArray, charset: Charset) InputOf(chars: CharArray, charset: CharSequence)

Parameters

chars - The chars

charset - The charsetInputOf(source: CharSequence)

Parameters

source - The stringInputOf(source: CharSequence, charset: Charset) InputOf(source: CharSequence, charset: CharSequence)

Parameters

source - The string

charset - The charsetInputOf(text: Text)

Parameters

text - The textInputOf(text: Text, charset: Charset) InputOf(text: Text, charset: CharSequence)

Parameters

text - The text

charset - The charsetInputOf(error: Throwable)

Parameters

error - The exception to serializeInputOf(error: Throwable, charset: Charset) InputOf(error: Throwable, charset: CharSequence)

Parameters

error - The exception to serialize

charset - CharsetInputOf(bytes: ByteArray)

Parameters

bytes - The bytesInputOf(src: Bytes)

Parameters

src - The bytesInputOf(stream: InputStream)

Parameters

stream - The streamInputOf(origin: Input)

An Input that encapsulates other sources of data.

There is no thread-safety guarantee.

Since 0.11.8