Kactoos

kactoos-jvm / nnl.rocks.kactoos.text / UncheckedText / <init>

<init>

UncheckedText(text: Text)UncheckedText(txt: String)

Ctor.

Parameters

txt - Encapsulated text

Since 0.9

UncheckedText(text: Text, fallback: Func<IOException, String>)

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