Package | Description |
---|---|
org.cactoos.text |
Text.
|
Modifier and Type | Class and Description |
---|---|
class |
Abbreviated
Abbreviates a Text using ellipses.
|
class |
Base64Decoded
Decodes the origin text using the Base64 encoding scheme.
|
class |
Base64Encoded
Encodes the origin text using the Base64 encoding scheme.
|
class |
Capitalized
Text in capitalized case,
changed the first character to title case as per
Character.toTitleCase(int) ,
no other characters are changed. |
class |
ComparableText
Text implementing Comparable.
Below the example how you can sort words in a string: |
class |
Concatenated
Concatenate a Text.
|
class |
Flattened
|
class |
FormattedText
Text in Sprinf format.
|
class |
HexOf
Hexadecimal representation of Bytes.
|
class |
Joined
Join a Text.
|
class |
Lowered
Text in lower case.
|
class |
Mapped
Mapped text.
|
class |
Newline
Returns a text that is the default system line separator.
|
class |
NoNulls
Text check for no nulls.
|
class |
Normalized
Normalize (replace sequences of whitespace characters by a single space)
a Text.
|
class |
PaddedStart
Text padded at start to reach the given length.
|
class |
PrefixOf
Returns a text that is before given boundary.
|
class |
Randomized
Randomized text.
|
class |
Repeated
Repeat an text count times.
|
class |
Replaced
Replace the Text.
|
class |
Reversed
Reverse the Text.
|
class |
Rotated
Rotate (circular shift) a String of shift characters.
|
class |
Sticky
Cached version of a Text.
|
class |
Strict
Validates encapsulated text using predicate
|
class |
Sub
Extract a substring from a Text.
|
class |
SuffixOf
Returns a text that is after given boundary.
|
class |
SwappedCase
Swaps the case of a Text changing upper and title case to lower case,
and lower case to upper case.
|
class |
Synced
Text that is thread-safe.
|
class |
TextOf
TextOf
|
class |
TextOfDateTime
Text of date time
|
class |
Trimmed
Text without control characters (char <= 32) from both ends.
|
class |
TrimmedLeft
Text without control characters (char <= 32) only from left.
|
class |
TrimmedRight
Text without control characters (char <= 32) only from right.
|
class |
Upper
Text in upper case.
|
Copyright © 2017–2022 Cactoos. All rights reserved.