Package org.cactoos.text
Class Capitalized
- java.lang.Object
-
- org.cactoos.text.TextEnvelope
-
- org.cactoos.text.Capitalized
-
- All Implemented Interfaces:
Text
public final class Capitalized extends TextEnvelope
Text in capitalized case, changed the first character to title case as perCharacter.toTitleCase(int)
, no other characters are changed.- Since:
- 0.46
-
-
Constructor Summary
Constructors Constructor Description Capitalized(CharSequence text)
Ctor.Capitalized(Text text)
Ctor.
-
-
-
Constructor Detail
-
Capitalized
public Capitalized(CharSequence text)
Ctor.- Parameters:
text
- The text
-
Capitalized
public Capitalized(Text text)
Ctor.- Parameters:
text
- The text
-
-