Package | Description |
---|---|
org.cactoos |
Cactoos.
|
org.cactoos.bytes |
Bytes.
|
org.cactoos.io |
Input/Output.
|
org.cactoos.scalar |
Scalars.
|
org.cactoos.text |
Text.
|
org.cactoos.time |
Time.
|
Modifier and Type | Class and Description |
---|---|
static class |
Text.NoNulls
Text check for no nulls.
|
Constructor and Description |
---|
NoNulls(Text text)
Ctor.
|
Constructor and Description |
---|
HexBytes(Text origin)
Ctor.
|
Constructor and Description |
---|
BytesOf(Text text)
Ctor.
|
BytesOf(Text text,
CharSequence charset)
Ctor.
|
BytesOf(Text text,
Charset charset)
Ctor.
|
InputOf(Text text)
Ctor.
|
InputOf(Text text,
CharSequence charset)
Ctor.
|
InputOf(Text text,
Charset charset)
Ctor.
|
InputStreamOf(Text text)
Ctor.
|
InputStreamOf(Text text,
CharSequence charset)
Ctor.
|
InputStreamOf(Text text,
Charset charset)
Ctor.
|
ReaderOf(Text text)
Ctor.
|
ReaderOf(Text text,
CharSequence charset)
Ctor.
|
ReaderOf(Text text,
Charset charset)
Ctor.
|
ResourceOf(Text res)
New resource input with current context
ClassLoader . |
ResourceOf(Text res,
ClassLoader ldr)
New resource input with specified
ClassLoader . |
ResourceOf(Text res,
Func<Text,Input> fbk)
New resource input with current context
ClassLoader . |
ResourceOf(Text res,
Func<Text,Input> fbk,
ClassLoader ldr)
New resource input with specified
ClassLoader . |
ResourceOf(Text res,
Input fbk)
New resource input with current context
ClassLoader . |
ResourceOf(Text res,
Text fbk)
New resource input with current context
ClassLoader . |
TeeInput(Text text,
File file)
Ctor.
|
TeeInput(Text text,
File file,
CharSequence charset)
Ctor.
|
TeeInput(Text text,
File file,
Charset charset)
Ctor.
|
TeeInput(Text text,
Output output)
Ctor.
|
TeeInput(Text text,
Output output,
CharSequence charset)
Ctor.
|
TeeInput(Text text,
Output output,
Charset charset)
Ctor.
|
TeeInput(Text text,
Path path)
Ctor.
|
TeeInput(Text text,
Path path,
CharSequence charset)
Ctor.
|
TeeInput(Text text,
Path path,
Charset charset)
Ctor.
|
TempFile(Scalar<Path> dir,
Text prefix,
Text suffix)
Ctor.
|
Constructor and Description |
---|
ResourceOf(Text res,
Func<Text,Input> fbk)
New resource input with current context
ClassLoader . |
ResourceOf(Text res,
Func<Text,Input> fbk,
ClassLoader ldr)
New resource input with specified
ClassLoader . |
Constructor and Description |
---|
BoolOf(Text text)
Ctor.
|
NumberOf(Text text)
Ctor.
|
PropertiesOf(Text text)
Ctor.
|
Modifier and Type | Class and Description |
---|---|
class |
AbbreviatedText
Abbreviates a Text using ellipses.
|
class |
Base64Text
Decodes the origin text using the Base64 encoding scheme.
|
class |
ComparableText
Text implementing Comparable.
Below the example how you can sort words in a string: |
class |
FormattedText
Text in Sprinf format.
|
class |
HexOf
Hexadecimal representation of Bytes.
|
class |
JoinedText
Join a Text.
|
class |
LowerText
Text in lower case.
|
class |
NormalizedText
Normalize (replace sequences of whitespace characters by a single space)
a Text.
|
class |
PaddedStartText
Text padded at start to reach the given length.
|
class |
RandomText
Random text.
|
class |
RepeatedText
Repeat an text count times.
|
class |
ReplacedText
Replace the Text.
|
class |
ReversedText
Reverse the Text.
|
class |
RotatedText
Rotate (circular shift) a String of shift characters.
|
class |
SubText
Extract a substring from a Text.
|
class |
SwappedCaseText
Swaps the case of a Text changing upper and title case to lower case,
and lower case to upper case.
|
class |
SyncText
Text that is thread-safe.
|
class |
TextBase64
Encodes the origin text using the Base64 encoding scheme.
|
class |
TextEnvelope
Text envelope that provides
TextEnvelope.equals(Object) and TextEnvelope.hashCode()
methods. |
class |
TextOf
TextOf
|
class |
TrimmedLeftText
Text without control characters (char <= 32) only from left.
|
class |
TrimmedRightText
Text without control characters (char <= 32) only from right.
|
class |
TrimmedText
Text without control characters (char <= 32) from both ends.
|
class |
UncheckedText
Text that doesn't throw checked
Exception . |
class |
UpperText
Text in upper case.
|
Modifier and Type | Method and Description |
---|---|
Iterator<Text> |
SplitText.iterator() |
Modifier and Type | Method and Description |
---|---|
int |
ComparableText.compareTo(Text other) |
Constructor and Description |
---|
AbbreviatedText(Text text)
Ctor.
|
AbbreviatedText(Text text,
int max)
Ctor.
|
Base64Text(Text origin)
Ctor.
|
ComparableText(Text text)
Ctor.
|
FormattedText(Text ptn,
Collection<Object> arguments)
New formatted string with default locale.
|
FormattedText(Text ptn,
Locale locale,
Collection<Object> arguments)
New formatted string with specified locale.
|
FormattedText(Text ptn,
Locale locale,
Object... arguments)
New formatted string with specified locale.
|
FormattedText(Text ptn,
Object... arguments)
New formatted string with default locale.
|
IsBlank(Text text)
Ctor.
|
JoinedText(Text delimit,
Iterable<Text> txts)
Ctor.
|
JoinedText(Text delimit,
Text... txts)
Ctor.
|
JoinedText(Text delimit,
Text... txts)
Ctor.
|
LowerText(Text text)
Ctor.
|
LowerText(Text text,
Locale lang)
Ctor.
|
NormalizedText(Text text)
Ctor.
|
PaddedStartText(Text text,
int length,
char symbol)
Ctor.
|
RepeatedText(Text text,
int count)
Ctor.
|
ReplacedText(Text text,
Scalar<Pattern> regex,
Func<Matcher,String> func)
Ctor.
|
ReplacedText(Text text,
String find,
String replace)
Ctor.
|
ReversedText(Text text)
Ctor.
|
RotatedText(Text text,
int shift)
Ctor.
|
SplitText(String text,
Text rgx)
Ctor.
|
SplitText(Text text,
String rgx)
Ctor.
|
SplitText(Text text,
Text rgx)
Ctor.
|
SubText(Text text,
int strt)
Ctor.
|
SubText(Text text,
int strt,
int finish)
Ctor.
|
SubText(Text text,
Scalar<Integer> strt,
Scalar<Integer> finish)
Ctor.
|
SubText(Text text,
UncheckedScalar<Integer> start,
UncheckedScalar<Integer> end)
Ctor.
|
SwappedCaseText(Text text)
Ctor.
|
SyncText(Text text)
Ctor.
|
SyncText(Text text,
Object lck)
Ctor.
|
TextBase64(Text origin)
Ctor.
|
TextEnvelope(Text text)
Ctor.
|
TrimmedLeftText(Text text)
Ctor.
|
TrimmedRightText(Text text)
Ctor.
|
TrimmedText(Text text)
Ctor.
|
UncheckedText(Text txt)
Ctor.
|
UncheckedText(Text txt,
Func<Exception,String> fbk)
Ctor.
|
UpperText(Text text)
Ctor.
|
UpperText(Text text,
Locale lang)
Ctor.
|
Constructor and Description |
---|
JoinedText(Text delimit,
Iterable<Text> txts)
Ctor.
|
Modifier and Type | Class and Description |
---|---|
class |
DateAsText
Formatter for
Date instances. |
class |
LocalDateAsText
Formatter for
LocalDate instances. |
class |
LocalDateTimeAsText
Formatter for
LocalDateTime instances. |
class |
OffsetDateTimeAsText
Formatter for
OffsetDateTime instances. |
class |
ZonedDateTimeAsText
Formatter for
ZonedDateTime instances. |
Copyright © 2017–2018 Cactoos. All rights reserved.