public final class NormalizedText extends Object implements Text
Text.NoNulls
Constructor and Description |
---|
NormalizedText(String text)
Ctor.
|
NormalizedText(Text text)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
String |
asString()
Convert it to the string.
|
int |
compareTo(Text text) |
public NormalizedText(String text)
text
- A Textpublic NormalizedText(Text text)
text
- A Textpublic String asString() throws IOException
Text
asString
in interface Text
IOException
- If failspublic int compareTo(Text text)
compareTo
in interface Comparable<Text>
Copyright © 2017 Cactoos. All rights reserved.