kactoos-jvm / nnl.rocks.kactoos.io / InputOf / <init>
InputOf(file:
File
)
file
- The fileInputOf(path:
Path
)
path
- The pathInputOf(uri:
URI
)
uri
- The URIInputOf(url:
URL
)
url
- The URLInputOf(scalar:
KScalar
<
URL
>)
scalar
- The urlInputOf(rdr:
Reader
)
rdr
- ReaderInputOf(rdr:
Reader
, charset:
Charset
)
InputOf(rdr:
Reader
, charset:
CharSequence
)
rdr
- Reader
charset
- CharsetInputOf(rdr:
Reader
, max:
Int
)
rdr
- Reader
max
- Buffer size
Since 0.13.3
InputOf(rdr:
Reader
, charset:
Charset
, max:
Int
)
InputOf(rdr:
Reader
, charset:
CharSequence
, max:
Int
)
rdr
- Reader
charset
- Charset
max
- Buffer sizeInputOf(vararg chars:
Char
)
chars
- The charsInputOf(chars:
CharArray
, charset:
Charset
)
InputOf(chars:
CharArray
, charset:
CharSequence
)
chars
- The chars
charset
- The charsetInputOf(source:
CharSequence
)
source
- The stringInputOf(source:
CharSequence
, charset:
Charset
)
InputOf(source:
CharSequence
, charset:
CharSequence
)
source
- The string
charset
- The charsetInputOf(text:
Text
)
text
- The textInputOf(text:
Text
, charset:
Charset
)
InputOf(text:
Text
, charset:
CharSequence
)
text
- The text
charset
- The charsetInputOf(error:
Throwable
)
error
- The exception to serializeInputOf(error:
Throwable
, charset:
Charset
)
InputOf(error:
Throwable
, charset:
CharSequence
)
error
- The exception to serialize
charset
- CharsetInputOf(bytes:
ByteArray
)
bytes
- The bytesInputOf(src:
Bytes
)
src
- The bytesInputOf(stream:
InputStream
)
stream
- The streamInputOf(origin:
Input
)
An Input that encapsulates other sources of data.
There is no thread-safety guarantee.
Since 0.11.8