Uses of Interface
org.cactoos.Text
-
Packages that use Text Package Description org.cactoos.bytes Bytes.org.cactoos.io Input/Output.org.cactoos.iterable Iterables.org.cactoos.iterator Iterators.org.cactoos.number Numbers.org.cactoos.scalar Scalars.org.cactoos.text Text. -
-
Uses of Text in org.cactoos.bytes
Constructors in org.cactoos.bytes with parameters of type Text Constructor Description BytesOf(Text text)
Ctor.BytesOf(Text text, CharSequence charset)
Ctor.BytesOf(Text text, Charset charset)
Ctor.HexOf(Text origin)
Ctor. -
Uses of Text in org.cactoos.io
Constructors in org.cactoos.io with parameters of type Text Constructor Description 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 contextClassLoader
.ResourceOf(Text res, ClassLoader ldr)
New resource input with specifiedClassLoader
.ResourceOf(Text res, Func<Text,Input> fbk)
New resource input with current contextClassLoader
.ResourceOf(Text res, Func<Text,Input> fbk, ClassLoader ldr)
New resource input with specifiedClassLoader
.ResourceOf(Text res, Input fbk)
New resource input with current contextClassLoader
.ResourceOf(Text res, Text fbk)
New resource input with current contextClassLoader
.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, Path path)
Ctor.TeeInput(Text text, Path path, CharSequence charset)
Ctor.TeeInput(Text text, Path path, 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.TempFile(Scalar<Path> dir, Text prefix, Text suffix)
Ctor.TempFile(Text prefix, Text suffix)
Ctor.TempFolder(Text path)
Ctor.Constructor parameters in org.cactoos.io with type arguments of type Text Constructor Description ResourceOf(Text res, Func<Text,Input> fbk)
New resource input with current contextClassLoader
.ResourceOf(Text res, Func<Text,Input> fbk, ClassLoader ldr)
New resource input with specifiedClassLoader
. -
Uses of Text in org.cactoos.iterable
Constructors in org.cactoos.iterable with parameters of type Text Constructor Description IterableOfBytes(Text txt)
Ctor.IterableOfChars(Text txt)
Ctor. -
Uses of Text in org.cactoos.iterator
Constructors in org.cactoos.iterator with parameters of type Text Constructor Description IteratorOfBytes(Text txt)
Ctor.IteratorOfChars(Text txt)
Ctor. -
Uses of Text in org.cactoos.number
Constructors in org.cactoos.number with parameters of type Text Constructor Description NumberOf(Text text)
Ctor. -
Uses of Text in org.cactoos.scalar
Constructors in org.cactoos.scalar with parameters of type Text Constructor Description BoolOf(Text text)
Ctor.LengthOf(Text text)
Ctor.PropertiesOf(Text text)
Ctor. -
Uses of Text in org.cactoos.text
Classes in org.cactoos.text that implement Text Modifier and Type Class 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 perCharacter.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
IoCheckedText
Text that doesn't throw checkedException
, but only throwsIOException
.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 predicateclass
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
TextEnvelope
Text
envelope.class
TextOf
TextOfclass
TextOfDateTime
Text of date timeclass
TextOfScalar
Text ofScalar
class
TextOfString
Text ofString
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
UncheckedText
Text that doesn't throw checkedException
.class
Upper
Text in upper case.Methods in org.cactoos.text with parameters of type Text Modifier and Type Method Description int
ComparableText. compareTo(Text other)
Constructors in org.cactoos.text with parameters of type Text Constructor Description Abbreviated(Text text)
Ctor.Abbreviated(Text text, int max)
Ctor.Base64Decoded(Text origin)
Ctor.Base64Encoded(Text origin)
Ctor.Capitalized(Text text)
Ctor.ComparableText(Text text)
Ctor.Concatenated(Text... txts)
Ctor.Contains(CharSequence origin, Text other)
Ctor.Contains(Text origin, String other)
Ctor.Contains(Text origin, Text other)
Ctor.EndsWith(Text origin, CharSequence suffix)
Ctor.EndsWith(Text origin, Text suffix)
Ctor.FormattedText(Text ptn, Object... arguments)
New formatted string with default locale.FormattedText(Text ptn, Collection<Object> arguments)
New formatted string with default locale.FormattedText(Text ptn, Locale locale, Object... arguments)
New formatted string with specified locale.FormattedText(Text ptn, Locale locale, Collection<?> args)
New formatted string with specified locale.IoCheckedText(Text txt)
Ctor.IoCheckedText(Text txt, Func<Exception,String> fbk)
Ctor.IsBlank(Text text)
Ctor.IsEmpty(Text text)
Ctor.Joined(CharSequence delimit, Text... txts)
Ctor.Joined(Text delimit, Iterable<? extends Text> txts)
Ctor.Joined(Text delimit, Text... txts)
Ctor.Lowered(Text text)
Ctor.Lowered(Text text, Locale locale)
Ctor.Mapped(Func<? super String,? extends CharSequence> fnc, Text txt)
Ctor.NoNulls(Text text)
Ctor.Normalized(Text text)
Ctor.PaddedStart(Text text, int length, char symbol)
Ctor.PrefixOf(Text text, CharSequence boundary)
Ctor.Repeated(Text text, int count)
Ctor.Replaced(Text text, CharSequence find, CharSequence replace)
Ctor.Replaced(Text text, Scalar<Pattern> regex, Func<? super Matcher,? extends CharSequence> func)
Ctor.Reversed(Text text)
Ctor.Rotated(Text text, int shift)
Ctor.Split(CharSequence text, Text rgx)
Ctor.Split(CharSequence text, Text rgx, int lmt)
Ctor.Split(Text text, CharSequence rgx)
Ctor.Split(Text text, CharSequence rgx, int lmt)
Ctor.Split(Text text, Text rgx)
Ctor.Split(Text text, Text rgx, int lmt)
Ctor.StartsWith(Text text, Text prefix)
Ctor.Sticky(Text txt)
Ctor.Strict(Pattern pattern, Text origin)
Ctor.Strict(Func<? super String,Boolean> predicate, Text origin)
Ctor.Sub(Text text, int strt)
Ctor.Sub(Text text, int strt, int finish)
Ctor.Sub(Text text, int strt, Func<? super String,Integer> finish)
Ctor.Sub(Text text, int strt, Scalar<Integer> finish)
Ctor.Sub(Text text, Func<? super String,Integer> strt)
Ctor.Sub(Text text, Func<? super String,Integer> start, Func<? super String,Integer> end)
Ctor.Sub(Text text, Scalar<Integer> strt)
Ctor.Sub(Text text, Scalar<Integer> strt, Func<? super String,Integer> finish)
Ctor.Sub(Text text, Scalar<Integer> strt, Scalar<Integer> finish)
Ctor.SuffixOf(Text text, CharSequence boundary)
Ctor.SwappedCase(Text text)
Ctor.Synced(Text text)
Ctor.Synced(Text text, Object lck)
Ctor.TextEnvelope(Text text)
Ctor.Trimmed(Text text)
Ctor.TrimmedLeft(Text text)
Ctor.TrimmedRight(Text text)
Ctor.UncheckedText(Text txt)
Ctor.UncheckedText(Text txt, Func<Exception,String> fbk)
Ctor.Upper(Text text)
Ctor.Upper(Text text, Locale locale)
Ctor.Constructor parameters in org.cactoos.text with type arguments of type Text Constructor Description Concatenated(Iterable<? extends Text> txts)
Ctor.Flattened(Scalar<? extends Text> sclr)
Ctor.Joined(Text delimit, Iterable<? extends Text> txts)
Ctor.
-