public final class IoCheckedText extends Object implements Text
Exception
, but only
throws IOException
.
There is no thread-safety guarantee.
Constructor and Description |
---|
IoCheckedText(CharSequence txt)
Ctor.
|
IoCheckedText(Text txt)
Ctor.
|
IoCheckedText(Text txt,
Func<Exception,String> fbk)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
String |
asString()
Convert it to the string.
|
boolean |
equals(Object obj) |
int |
hashCode() |
String |
toString() |
public IoCheckedText(CharSequence txt)
txt
- Encapsulated textpublic IoCheckedText(Text txt)
txt
- Encapsulated textpublic String asString() throws IOException
Text
asString
in interface Text
IOException
Copyright © 2017–2022 Cactoos. All rights reserved.