Kactoos

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

UncheckedText

class UncheckedText : Text

Text that doesn’t throw checked Exception.

There is no thread-safety guarantee.

Parameters

text - Encapsulated text

fallback - Fallback func if IOException happens

Since 0.3

Constructors

Name Summary
<init> UncheckedText(text: Text)UncheckedText(txt: String)
Ctor.UncheckedText(text: Text, fallback: Func<IOException, String>)
Text that doesn’t throw checked Exception.

Functions

Name Summary
asString fun asString(): String
Convert it to the string.