Package org.cactoos.text
Class SwappedCase
- java.lang.Object
-
- org.cactoos.text.TextEnvelope
-
- org.cactoos.text.SwappedCase
-
- All Implemented Interfaces:
Text
public final class SwappedCase extends TextEnvelope
Swaps the case of a Text changing upper and title case to lower case, and lower case to upper case.- Since:
- 0.13.3
-
-
Constructor Summary
Constructors Constructor Description SwappedCase(Text text)
Ctor.
-
-
-
Constructor Detail
-
SwappedCase
public SwappedCase(Text text)
Ctor.- Parameters:
text
- The text
-
-