kactoos-jvm / nnl.rocks.kactoos.io / InputStreamOf / <init>
InputStreamOf(path:
Path
)
Ctor.
path
- The pathInputStreamOf(file:
File
)
Ctor.
file
- The fileInputStreamOf(url:
URL
)
Ctor.
url
- The URLInputStreamOf(uri:
URI
)
Ctor.
uri
- The URIInputStreamOf(bytes:
Bytes
)
InputStreamOf(bytes:
ByteArray
)
Ctor.
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.
text
- The text
charset
- CharsetInputStreamOf(text:
CharSequence
)
Ctor.
text
- The textInputStreamOf(rdr:
Reader
, charset:
Charset
= Charsets.UTF_8)
InputStreamOf(rdr:
Reader
, charset:
CharSequence
)
Ctor.
rdr
- Reader
charset
- Charset
Since 0.13.2
InputStreamOf(rdr:
Reader
, cset:
Charset
, max:
Int
)
Ctor.
rdr
- Reader
cset
- Charset
max
- Buffer size
Since 0.13.2
InputStreamOf(rdr:
Reader
, max:
Int
)
Ctor.
rdr
- Reader
max
- Buffer size
Since 0.13.2
InputStreamOf(rdr:
Reader
, charset:
CharSequence
, max:
Int
)
Ctor.
rdr
- Reader
charset
- Charset
max
- Buffer size
Since 0.13.2
InputStreamOf(input:
Input
)
Ctor.
input
- The inputInputStreamOf(source:
KScalar
<
InputStream
>)
An InputStream that encapsulates other sources of data.
There is no thread-safety guarantee.
Since 0.3