kactoos-jvm / nnl.rocks.kactoos.text / UncheckedText
class UncheckedText : Text
Text that doesn’t throw checked Exception.
There is no thread-safety guarantee.
text - Encapsulated text
fallback - Fallback func if IOException happens
Since 0.3
| Name | Summary |
|---|---|
| <init> | UncheckedText(text: Text)UncheckedText(txt: String)Ctor. UncheckedText(text: Text, fallback: Func<IOException, String>)Text that doesn’t throw checked Exception. |
| Name | Summary |
|---|---|
| asString | fun asString(): StringConvert it to the string. |