Package org.cactoos.text
Class Normalized
- java.lang.Object
-
- org.cactoos.text.TextEnvelope
-
- org.cactoos.text.Normalized
-
- All Implemented Interfaces:
Text
public final class Normalized extends TextEnvelope
Normalize (replace sequences of whitespace characters by a single space) a Text.- Since:
- 0.9
-
-
Constructor Summary
Constructors Constructor Description Normalized(CharSequence text)
Ctor.Normalized(Text text)
Ctor.
-
-
-
Constructor Detail
-
Normalized
public Normalized(CharSequence text)
Ctor.- Parameters:
text
- A Text
-
Normalized
public Normalized(Text text)
Ctor.- Parameters:
text
- A Text
-
-