Kactoos

kactoos-jvm / nnl.rocks.kactoos.text / JDKTextOf

JDKTextOf

class JDKTextOf : TextEnvelope

TextOf various inputs available on JDK.

There is no thread-safety guarantee.

Since 0.5

Constructors

Name Summary
<init> JDKTextOf(origin: Text)
JDKTextOf(input: Input)
JDKTextOf(url: URL)
JDKTextOf(uri: URI)
JDKTextOf(path: Path)
JDKTextOf(file: File)
JDKTextOf(input: Input, charset: Charset)
JDKTextOf(input: Input, charset: String)
JDKTextOf(input: Input, max: Int, charset: Charset = Charsets.UTF_8)
JDKTextOf(reader: Reader)
JDKTextOf(reader: Reader, charset: Charset)
JDKTextOf(reader: Reader, charset: Charset, max: Int)
JDKTextOf(charSequence: CharSequence)
JDKTextOf(charSequence: CharSequence, charset: Charset)
JDKTextOf(vararg chars: Char)
JDKTextOf(chars: CharArray, charset: Charset)
JDKTextOf(error: Throwable)
JDKTextOf(error: Throwable, charset: Charset)
JDKTextOf(error: Throwable, charset: CharSequence)
JDKTextOf(vararg traces: StackTraceElement)
JDKTextOf(traces: Array<StackTraceElement>, charset: Charset)
JDKTextOf(traces: Array<StackTraceElement>, charset: CharSequence)
JDKTextOf(vararg bytes: Byte)
JDKTextOf(bytes: Bytes, charset: Charset = Charsets.UTF_8)
JDKTextOf(bytes: Bytes, charset: String)
JDKTextOf(input: String, charset: Charset = Charsets.UTF_8)
JDKTextOf(iterable: Iterable<Any>)
JDKTextOf(input: InputStream)JDKTextOf(origin: KText)
TextOf various inputs available on JDK.

Inherited Functions

Name Summary
asString open fun asString(): String
Convert it to the string.
compareTo open fun compareTo(other: Text): Int
equals open fun equals(other: Any?): Boolean
hashCode open fun hashCode(): Int
toString open fun toString(): String