kactoos-jvm / nnl.rocks.kactoos.io / ReaderOf / <init>
ReaderOf(vararg chars:
Char
)
chars
- CharsReaderOf(chars:
CharArray
, charset:
Charset
)
chars
- Chars
charset
- CharsetReaderOf(chars:
CharArray
, charset:
CharSequence
)
Ctor.
chars
- Chars
charset
- CharsetReaderOf(bytes:
ByteArray
)
bytes
- BytesReaderOf(bytes:
ByteArray
, charset:
Charset
)
ReaderOf(bytes:
ByteArray
, charset:
CharSequence
)
bytes
- Bytes
charset
- CharsetReaderOf(path:
Path
)
path
- The pathReaderOf(file:
File
)
file
- The fileReaderOf(url:
URL
)
url
- The URLReaderOf(uri:
URI
)
uri
- The URIReaderOf(bytes:
Bytes
)
bytes
- The textReaderOf(text:
Text
)
ReaderOf(text:
CharSequence
)
text
- The textReaderOf(text:
Text
, charset:
Charset
)
ReaderOf(text:
Text
, charset:
CharSequence
)
ReaderOf(text:
CharSequence
, charset:
Charset
)
ReaderOf(text:
CharSequence
, charset:
CharSequence
)
text
- The text
charset
- CharsetReaderOf(input:
Input
, charset:
Charset
= Charsets.UTF_8)
ReaderOf(input:
Input
, charset:
CharSequence
)
input
- The input
charset
- The charsetReaderOf(input:
Input
, decoder:
CharsetDecoder
)
input
- The input
decoder
- The decoder
Since 0.13.1
ReaderOf(stream:
InputStream
, charset:
Charset
= Charsets.UTF_8)
stream
- The stream
charset
- The charsetReaderOf(stream:
InputStream
)
ReaderOf(stream:
InputStream
, charset:
CharSequence
)
stream
- The stream
charset
- The charset
UnsupportedEncodingException
- If failsReaderOf(stream:
InputStream
, decoder:
CharsetDecoder
)
stream
- The stream
decoder
- The charset decoder
Since 0.13.1
ReaderOf(source:
KScalar
<
Reader
>)
A Reader that encapsulates other sources of data.
There is no thread-safety guarantee.
Since 0.3