Index
A B C D E F G H I J K L M N O P Q R S T U V W X
All Classes|All Packages
All Classes|All Packages
All Classes|All Packages
A
- abbreviate(String, int, int, String) - Static method in class org.apache.commons.text.WordUtils
-
Abbreviates the words nicely.
- above(int) - Static method in class org.apache.commons.text.translate.JavaUnicodeEscaper
-
Constructs a
JavaUnicodeEscaper
above the specified value (exclusive). - above(int) - Static method in class org.apache.commons.text.translate.NumericEntityEscaper
-
Constructs a
NumericEntityEscaper
above the specified value (exclusive). - above(int) - Static method in class org.apache.commons.text.translate.UnicodeEscaper
-
Constructs a
UnicodeEscaper
above the specified value (exclusive). - accept(CommandVisitor<T>) - Method in class org.apache.commons.text.diff.DeleteCommand
-
Accept a visitor.
- accept(CommandVisitor<T>) - Method in class org.apache.commons.text.diff.EditCommand
-
Accept a visitor.
- accept(CommandVisitor<T>) - Method in class org.apache.commons.text.diff.InsertCommand
-
Accept a visitor.
- accept(CommandVisitor<T>) - Method in class org.apache.commons.text.diff.KeepCommand
-
Accept a visitor.
- add(String) - Method in class org.apache.commons.text.StringTokenizer
-
Unsupported ListIterator operation.
- add(String) - Method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Unsupported ListIterator operation.
- addDefaultStringLookups(Map<String, StringLookup>) - Method in class org.apache.commons.text.lookup.StringLookupFactory
-
Adds the
default lookups
. - AggregateTranslator - Class in org.apache.commons.text.translate
-
Executes a sequence of translators one after the other.
- AggregateTranslator(CharSequenceTranslator...) - Constructor for class org.apache.commons.text.translate.AggregateTranslator
-
Specify the translators to be used at creation time.
- AlphabetConverter - Class in org.apache.commons.text
-
Convert from one alphabet to another, with the possibility of leaving certain characters unencoded.
- andMatcher(StringMatcher...) - Method in class org.apache.commons.text.matcher.StringMatcherFactory
-
Creates a matcher that matches all of the given matchers in order.
- andThen(StringMatcher) - Method in interface org.apache.commons.text.matcher.StringMatcher
-
Returns a matcher that matches this matcher followed by the given matcher.
- APOS_ESCAPE - Static variable in class org.apache.commons.text.translate.EntityArrays
-
A Map<CharSequence, CharSequence> to escape the apostrophe character to its XML character entity.
- APOS_UNESCAPE - Static variable in class org.apache.commons.text.translate.EntityArrays
-
Reverse of
EntityArrays.APOS_ESCAPE
for unescaping purposes. - append(boolean) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends a boolean value to the string builder.
- append(boolean) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends a boolean value to the string builder.
- append(char) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends a char value to the string builder.
- append(char) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends a char value to the string builder.
- append(char[]) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends a char array to the string builder.
- append(char[]) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends a char array to the string builder.
- append(char[], int, int) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends a char array to the string builder.
- append(char[], int, int) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends a char array to the string builder.
- append(double) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends a double value to the string builder using
String.valueOf
. - append(double) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends a double value to the string builder using
String.valueOf
. - append(float) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends a float value to the string builder using
String.valueOf
. - append(float) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends a float value to the string builder using
String.valueOf
. - append(int) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends an int value to the string builder using
String.valueOf
. - append(int) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends an int value to the string builder using
String.valueOf
. - append(long) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends a long value to the string builder using
String.valueOf
. - append(long) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends a long value to the string builder using
String.valueOf
. - append(CharSequence) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends a CharSequence to this string builder.
- append(CharSequence) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends a CharSequence to this string builder.
- append(CharSequence, int, int) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends part of a CharSequence to this string builder.
- append(CharSequence, int, int) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends part of a CharSequence to this string builder.
- append(CharSequence, Formatter, int, int, int) - Static method in class org.apache.commons.text.FormattableUtils
-
Handles the common
Formattable
operations of truncate-pad-append, with no ellipsis on precision overflow, and padding width underflow with spaces. - append(CharSequence, Formatter, int, int, int, char) - Static method in class org.apache.commons.text.FormattableUtils
-
Handles the common
Formattable
operations of truncate-pad-append, with no ellipsis on precision overflow. - append(CharSequence, Formatter, int, int, int, char, CharSequence) - Static method in class org.apache.commons.text.FormattableUtils
-
Handles the common
Formattable
operations of truncate-pad-append. - append(CharSequence, Formatter, int, int, int, CharSequence) - Static method in class org.apache.commons.text.FormattableUtils
-
Handles the common
Formattable
operations of truncate-pad-append, padding width underflow with spaces. - append(Object) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends an object to this string builder.
- append(Object) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends an object to this string builder.
- append(String) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends a string to this string builder.
- append(String) - Method in class org.apache.commons.text.StringEscapeUtils.Builder
-
Literal append, no escaping being done.
- append(String) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends a string to this string builder.
- append(StringBuffer) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends a string buffer to this string builder.
- append(StringBuffer) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends a string buffer to this string builder.
- append(StringBuffer, int, int) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends part of a string buffer to this string builder.
- append(StringBuffer, int, int) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends part of a string buffer to this string builder.
- append(StringBuilder) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends a StringBuilder to this string builder.
- append(StringBuilder) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends a StringBuilder to this string builder.
- append(StringBuilder, int, int) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends part of a StringBuilder to this string builder.
- append(StringBuilder, int, int) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends part of a StringBuilder to this string builder.
- append(String, int, int) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends part of a string to this string builder.
- append(String, int, int) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends part of a string to this string builder.
- append(String, Object...) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Calls
String.format(String, Object...)
and appends the result. - append(String, Object...) - Method in class org.apache.commons.text.TextStringBuilder
-
Calls
String.format(String, Object...)
and appends the result. - append(CharBuffer) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends the contents of a char buffer to this string builder.
- append(CharBuffer) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends the contents of a char buffer to this string builder.
- append(CharBuffer, int, int) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends the contents of a char buffer to this string builder.
- append(CharBuffer, int, int) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends the contents of a char buffer to this string builder.
- append(DeleteCommand<T>) - Method in class org.apache.commons.text.diff.EditScript
-
Add a delete command to the script.
- append(InsertCommand<T>) - Method in class org.apache.commons.text.diff.EditScript
-
Add an insert command to the script.
- append(KeepCommand<T>) - Method in class org.apache.commons.text.diff.EditScript
-
Add a keep command to the script.
- append(StrBuilder) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends another string builder to this string builder.
- append(StrBuilder, int, int) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends part of a string builder to this string builder.
- append(TextStringBuilder) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends another string builder to this string builder.
- append(TextStringBuilder, int, int) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends part of a string builder to this string builder.
- appendAll(Iterable<?>) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends each item in an iterable to the builder without any separators.
- appendAll(Iterable<?>) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends each item in an iterable to the builder without any separators.
- appendAll(Iterator<?>) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends each item in an iterator to the builder without any separators.
- appendAll(Iterator<?>) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends each item in an iterator to the builder without any separators.
- appendAll(T...) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends each item in an array to the builder without any separators.
- appendAll(T...) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends each item in an array to the builder without any separators.
- appendFixedWidthPadLeft(int, int, char) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends an object to the builder padding on the left to a fixed width.
- appendFixedWidthPadLeft(int, int, char) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends an object to the builder padding on the left to a fixed width.
- appendFixedWidthPadLeft(Object, int, char) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends an object to the builder padding on the left to a fixed width.
- appendFixedWidthPadLeft(Object, int, char) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends an object to the builder padding on the left to a fixed width.
- appendFixedWidthPadRight(int, int, char) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends an object to the builder padding on the right to a fixed length.
- appendFixedWidthPadRight(int, int, char) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends an object to the builder padding on the right to a fixed length.
- appendFixedWidthPadRight(Object, int, char) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends an object to the builder padding on the right to a fixed length.
- appendFixedWidthPadRight(Object, int, char) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends an object to the builder padding on the right to a fixed length.
- appendln(boolean) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends a boolean value followed by a new line to the string builder.
- appendln(boolean) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends a boolean value followed by a new line to the string builder.
- appendln(char) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends a char value followed by a new line to the string builder.
- appendln(char) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends a char value followed by a new line to the string builder.
- appendln(char[]) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends a char array followed by a new line to the string builder.
- appendln(char[]) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends a char array followed by a new line to the string builder.
- appendln(char[], int, int) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends a char array followed by a new line to the string builder.
- appendln(char[], int, int) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends a char array followed by a new line to the string builder.
- appendln(double) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends a double value followed by a new line to the string builder using
String.valueOf
. - appendln(double) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends a double value followed by a new line to the string builder using
String.valueOf
. - appendln(float) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends a float value followed by a new line to the string builder using
String.valueOf
. - appendln(float) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends a float value followed by a new line to the string builder using
String.valueOf
. - appendln(int) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends an int value followed by a new line to the string builder using
String.valueOf
. - appendln(int) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends an int value followed by a new line to the string builder using
String.valueOf
. - appendln(long) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends a long value followed by a new line to the string builder using
String.valueOf
. - appendln(long) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends a long value followed by a new line to the string builder using
String.valueOf
. - appendln(Object) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends an object followed by a new line to this string builder.
- appendln(Object) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends an object followed by a new line to this string builder.
- appendln(String) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends a string followed by a new line to this string builder.
- appendln(String) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends a string followed by a new line to this string builder.
- appendln(StringBuffer) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends a string buffer followed by a new line to this string builder.
- appendln(StringBuffer) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends a string buffer followed by a new line to this string builder.
- appendln(StringBuffer, int, int) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends part of a string buffer followed by a new line to this string builder.
- appendln(StringBuffer, int, int) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends part of a string buffer followed by a new line to this string builder.
- appendln(StringBuilder) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends a string builder followed by a new line to this string builder.
- appendln(StringBuilder) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends a string builder followed by a new line to this string builder.
- appendln(StringBuilder, int, int) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends part of a string builder followed by a new line to this string builder.
- appendln(StringBuilder, int, int) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends part of a string builder followed by a new line to this string builder.
- appendln(String, int, int) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends part of a string followed by a new line to this string builder.
- appendln(String, int, int) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends part of a string followed by a new line to this string builder.
- appendln(String, Object...) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Calls
String.format(String, Object...)
and appends the result. - appendln(String, Object...) - Method in class org.apache.commons.text.TextStringBuilder
-
Calls
String.format(String, Object...)
and appends the result. - appendln(StrBuilder) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends another string builder followed by a new line to this string builder.
- appendln(StrBuilder, int, int) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends part of a string builder followed by a new line to this string builder.
- appendln(TextStringBuilder) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends another string builder followed by a new line to this string builder.
- appendln(TextStringBuilder, int, int) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends part of a string builder followed by a new line to this string builder.
- appendNewLine() - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends the new line string to this string builder.
- appendNewLine() - Method in class org.apache.commons.text.TextStringBuilder
-
Appends the new line string to this string builder.
- appendNull() - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends the text representing
null
to this string builder. - appendNull() - Method in class org.apache.commons.text.TextStringBuilder
-
Appends the text representing
null
to this string builder. - appendPadding(int, char) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends the pad character to the builder the specified number of times.
- appendPadding(int, char) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends the pad character to the builder the specified number of times.
- appendSeparator(char) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends a separator if the builder is currently non-empty.
- appendSeparator(char) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends a separator if the builder is currently non-empty.
- appendSeparator(char, char) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Append one of both separators to the builder If the builder is currently empty it will append the defaultIfEmpty-separator Otherwise it will append the standard-separator The separator is appended using
StrBuilder.append(char)
. - appendSeparator(char, char) - Method in class org.apache.commons.text.TextStringBuilder
-
Append one of both separators to the builder If the builder is currently empty it will append the defaultIfEmpty-separator Otherwise it will append the standard-separator The separator is appended using
TextStringBuilder.append(char)
. - appendSeparator(char, int) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends a separator to the builder if the loop index is greater than zero.
- appendSeparator(char, int) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends a separator to the builder if the loop index is greater than zero.
- appendSeparator(String) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends a separator if the builder is currently non-empty.
- appendSeparator(String) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends a separator if the builder is currently non-empty.
- appendSeparator(String, int) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends a separator to the builder if the loop index is greater than zero.
- appendSeparator(String, int) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends a separator to the builder if the loop index is greater than zero.
- appendSeparator(String, String) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends one of both separators to the StrBuilder.
- appendSeparator(String, String) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends one of both separators to the StrBuilder.
- appendTo(Appendable) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends current contents of this
StrBuilder
to the providedAppendable
. - appendTo(Appendable) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends current contents of this
StrBuilder
to the providedAppendable
. - appendWithSeparators(Iterable<?>, String) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends an iterable placing separators between each value, but not before the first or after the last.
- appendWithSeparators(Iterable<?>, String) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends an iterable placing separators between each value, but not before the first or after the last.
- appendWithSeparators(Object[], String) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends an array placing separators between each value, but not before the first or after the last.
- appendWithSeparators(Object[], String) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends an array placing separators between each value, but not before the first or after the last.
- appendWithSeparators(Iterator<?>, String) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Appends an iterator placing separators between each value, but not before the first or after the last.
- appendWithSeparators(Iterator<?>, String) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends an iterator placing separators between each value, but not before the first or after the last.
- apply(CharSequence) - Method in class org.apache.commons.text.similarity.EditDistanceFrom
-
This compares "left" field against the "right" parameter using the "edit distance" implementation.
- apply(CharSequence) - Method in class org.apache.commons.text.similarity.SimilarityScoreFrom
-
This compares "left" field against the "right" parameter using the "similarity score" implementation.
- apply(CharSequence, CharSequence) - Method in class org.apache.commons.text.similarity.CosineDistance
- apply(CharSequence, CharSequence) - Method in interface org.apache.commons.text.similarity.EditDistance
-
Compares two CharSequences.
- apply(CharSequence, CharSequence) - Method in class org.apache.commons.text.similarity.HammingDistance
-
Find the Hamming Distance between two strings with the same length.
- apply(CharSequence, CharSequence) - Method in class org.apache.commons.text.similarity.IntersectionSimilarity
-
Calculates the intersection of two character sequences passed as input.
- apply(CharSequence, CharSequence) - Method in class org.apache.commons.text.similarity.JaccardDistance
-
Calculates Jaccard distance of two set character sequence passed as input.
- apply(CharSequence, CharSequence) - Method in class org.apache.commons.text.similarity.JaccardSimilarity
-
Calculates Jaccard Similarity of two set character sequence passed as input.
- apply(CharSequence, CharSequence) - Method in class org.apache.commons.text.similarity.JaroWinklerDistance
-
Computes the Jaro Winkler Distance between two character sequences.
- apply(CharSequence, CharSequence) - Method in class org.apache.commons.text.similarity.JaroWinklerSimilarity
-
Computes the Jaro Winkler Similarity between two character sequences.
- apply(CharSequence, CharSequence) - Method in class org.apache.commons.text.similarity.LevenshteinDetailedDistance
-
Find the Levenshtein distance between two Strings.
- apply(CharSequence, CharSequence) - Method in class org.apache.commons.text.similarity.LevenshteinDistance
-
Find the Levenshtein distance between two Strings.
- apply(CharSequence, CharSequence) - Method in class org.apache.commons.text.similarity.LongestCommonSubsequence
-
Calculates longest common subsequence similarity score of two
CharSequence
's passed as input. - apply(CharSequence, CharSequence) - Method in class org.apache.commons.text.similarity.LongestCommonSubsequenceDistance
-
Calculates an edit distance between two
CharSequence
'sleft
andright
as:left.length() + right.length() - 2 * LCS(left, right)
, whereLCS
is given inLongestCommonSubsequence.apply(CharSequence, CharSequence)
. - apply(CharSequence, CharSequence) - Method in interface org.apache.commons.text.similarity.SimilarityScore
-
Compares two CharSequences.
- applyPattern(String) - Method in class org.apache.commons.text.ExtendedMessageFormat
-
Apply the specified pattern.
- ARABIC_NUMERALS - org.apache.commons.text.CharacterPredicates
-
Tests if the code points represents a number between 0 and 9.
- ASCII_ALPHA_NUMERALS - org.apache.commons.text.CharacterPredicates
-
Tests if the code points represents a letter between a and Z or a number between 0 and 9.
- ASCII_LETTERS - org.apache.commons.text.CharacterPredicates
-
Tests if the code points represents a letter between a and Z.
- ASCII_LOWERCASE_LETTERS - org.apache.commons.text.CharacterPredicates
-
Tests if the code points represents a letter between a and z.
- ASCII_UPPERCASE_LETTERS - org.apache.commons.text.CharacterPredicates
-
Tests if the code points represents a letter between A and Z.
- asReader() - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Gets the contents of this builder as a Reader.
- asReader() - Method in class org.apache.commons.text.TextStringBuilder
-
Gets the contents of this builder as a Reader.
- asTokenizer() - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Creates a tokenizer that can tokenize the contents of this builder.
- asTokenizer() - Method in class org.apache.commons.text.TextStringBuilder
-
Creates a tokenizer that can tokenize the contents of this builder.
- asWriter() - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Gets this builder as a Writer that can be written to.
- asWriter() - Method in class org.apache.commons.text.TextStringBuilder
-
Gets this builder as a Writer that can be written to.
B
- BASE64_DECODER - org.apache.commons.text.lookup.DefaultStringLookup
-
The lookup for Base64 decoding using the key "base64Decoder".
- BASE64_ENCODER - org.apache.commons.text.lookup.DefaultStringLookup
-
The lookup for Base64 decoding using the key "base64Encoder".
- base64DecoderStringLookup() - Method in class org.apache.commons.text.lookup.StringLookupFactory
-
Returns the Base64DecoderStringLookup singleton instance to decode Base64 strings.
- base64EncoderStringLookup() - Method in class org.apache.commons.text.lookup.StringLookupFactory
-
Returns the Base64EncoderStringLookup singleton instance to encode strings to Base64.
- base64StringLookup() - Method in class org.apache.commons.text.lookup.StringLookupFactory
-
Deprecated.
- BASIC_ESCAPE - Static variable in class org.apache.commons.text.translate.EntityArrays
-
A Map<CharSequence, CharSequence> to escape the basic XML and HTML character entities.
- BASIC_UNESCAPE - Static variable in class org.apache.commons.text.translate.EntityArrays
-
Reverse of
EntityArrays.BASIC_ESCAPE
for unescaping purposes. - below(int) - Static method in class org.apache.commons.text.translate.JavaUnicodeEscaper
-
Constructs a
JavaUnicodeEscaper
below the specified value (exclusive). - below(int) - Static method in class org.apache.commons.text.translate.NumericEntityEscaper
-
Constructs a
NumericEntityEscaper
below the specified value (exclusive). - below(int) - Static method in class org.apache.commons.text.translate.UnicodeEscaper
-
Constructs a
UnicodeEscaper
below the specified value (exclusive). - between(int, int) - Static method in class org.apache.commons.text.translate.JavaUnicodeEscaper
-
Constructs a
JavaUnicodeEscaper
between the specified values (inclusive). - between(int, int) - Static method in class org.apache.commons.text.translate.NumericEntityEscaper
-
Constructs a
NumericEntityEscaper
between the specified values (inclusive). - between(int, int) - Static method in class org.apache.commons.text.translate.UnicodeEscaper
-
Constructs a
UnicodeEscaper
between the specified values (inclusive). - biFunctionStringLookup(BiFunction<String, U, R>) - Method in class org.apache.commons.text.lookup.StringLookupFactory
-
Returns a new function-based lookup where the request for a lookup is answered by applying the function with a lookup key.
- BiStringLookup<U> - Interface in org.apache.commons.text.lookup
-
Lookups a String key for a String value.
- build() - Method in interface org.apache.commons.text.Builder
-
Returns a reference to the object being constructed or result being calculated by the builder.
- build() - Method in class org.apache.commons.text.RandomStringGenerator.Builder
-
Builds the
RandomStringGenerator
using the properties specified. - build() - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Implement the
Builder
interface. - build() - Method in class org.apache.commons.text.TextStringBuilder
-
Implement the
Builder
interface. - builder(CharSequenceTranslator) - Static method in class org.apache.commons.text.StringEscapeUtils
-
Get a
StringEscapeUtils.Builder
. - Builder<T> - Interface in org.apache.commons.text
-
The Builder interface is designed to designate a class as a builder object in the Builder design pattern.
- Builder() - Constructor for class org.apache.commons.text.RandomStringGenerator.Builder
C
- capacity() - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Gets the current size of the internal character array buffer.
- capacity() - Method in class org.apache.commons.text.TextStringBuilder
-
Gets the current size of the internal character array buffer.
- capitalize(String) - Static method in class org.apache.commons.text.WordUtils
-
Capitalizes all the whitespace separated words in a String.
- capitalize(String, char...) - Static method in class org.apache.commons.text.WordUtils
-
Capitalizes all the delimiter separated words in a String.
- capitalizeFully(String) - Static method in class org.apache.commons.text.WordUtils
-
Converts all the whitespace separated words in a String into capitalized words, that is each word is made up of a titlecase character and then a series of lowercase characters.
- capitalizeFully(String, char...) - Static method in class org.apache.commons.text.WordUtils
-
Converts all the delimiter separated words in a String into capitalized words, that is each word is made up of a titlecase character and then a series of lowercase characters.
- CaseUtils - Class in org.apache.commons.text
-
Case manipulation operations on Strings that contain words.
- CaseUtils() - Constructor for class org.apache.commons.text.CaseUtils
-
CaseUtils
instances should NOT be constructed in standard programming. - CharacterPredicate - Interface in org.apache.commons.text
-
A predicate for selecting code points.
- CharacterPredicates - Enum in org.apache.commons.text
-
Commonly used implementations of
CharacterPredicate
. - charAt(int) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Gets the character at the specified index.
- charAt(int) - Method in class org.apache.commons.text.TextStringBuilder
-
Gets the character at the specified index.
- charMatcher(char) - Method in class org.apache.commons.text.matcher.StringMatcherFactory
-
Constructor that creates a matcher from a character.
- charMatcher(char) - Static method in class org.apache.commons.text.StrMatcher
-
Deprecated.Creates a matcher from a character.
- CharSequenceTranslator - Class in org.apache.commons.text.translate
-
An API for translating text.
- CharSequenceTranslator() - Constructor for class org.apache.commons.text.translate.CharSequenceTranslator
- charSetMatcher(char...) - Method in class org.apache.commons.text.matcher.StringMatcherFactory
-
Constructor that creates a matcher from a set of characters.
- charSetMatcher(char...) - Static method in class org.apache.commons.text.StrMatcher
-
Deprecated.Creates a matcher from a set of characters.
- charSetMatcher(String) - Method in class org.apache.commons.text.matcher.StringMatcherFactory
-
Creates a matcher from a string representing a set of characters.
- charSetMatcher(String) - Static method in class org.apache.commons.text.StrMatcher
-
Deprecated.Creates a matcher from a string representing a set of characters.
- clear() - Static method in class org.apache.commons.text.lookup.StringLookupFactory
-
Clears any static resources.
- clear() - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Clears the string builder (convenience Collections API style method).
- clear() - Method in class org.apache.commons.text.TextStringBuilder
-
Clears the string builder (convenience Collections API style method).
- clone() - Method in class org.apache.commons.text.StringTokenizer
-
Creates a new instance of this Tokenizer.
- clone() - Method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Creates a new instance of this Tokenizer.
- CodePointTranslator - Class in org.apache.commons.text.translate
-
Helper subclass to CharSequenceTranslator to allow for translations that will replace up to one character at a time.
- CodePointTranslator() - Constructor for class org.apache.commons.text.translate.CodePointTranslator
- commaMatcher() - Method in class org.apache.commons.text.matcher.StringMatcherFactory
-
Returns a matcher which matches the comma character.
- commaMatcher() - Static method in class org.apache.commons.text.StrMatcher
-
Deprecated.Returns a matcher which matches the comma character.
- CommandVisitor<T> - Interface in org.apache.commons.text.diff
-
This interface should be implemented by user object to walk through
EditScript
objects. - CompositeFormat - Class in org.apache.commons.text
-
Formats using one formatter and parses using a different formatter.
- CompositeFormat(Format, Format) - Constructor for class org.apache.commons.text.CompositeFormat
-
Create a format that points its parseObject method to one implementation and its format method to another.
- CONST - org.apache.commons.text.lookup.DefaultStringLookup
-
The lookup for constants using the key "const".
- constantStringLookup() - Method in class org.apache.commons.text.lookup.StringLookupFactory
-
Returns the ConstantStringLookup singleton instance to look up the value of a fully-qualified static final value.
- contains(char) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Checks if the string builder contains the specified char.
- contains(char) - Method in class org.apache.commons.text.TextStringBuilder
-
Checks if the string builder contains the specified char.
- contains(String) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Checks if the string builder contains the specified string.
- contains(String) - Method in class org.apache.commons.text.TextStringBuilder
-
Checks if the string builder contains the specified string.
- contains(StringMatcher) - Method in class org.apache.commons.text.TextStringBuilder
-
Checks if the string builder contains a string matched using the specified matcher.
- contains(StrMatcher) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Checks if the string builder contains a string matched using the specified matcher.
- containsAllWords(CharSequence, CharSequence...) - Static method in class org.apache.commons.text.WordUtils
-
Checks if the String contains all words in the given array.
- CosineDistance - Class in org.apache.commons.text.similarity
-
Measures the cosine distance between two character sequences.
- CosineDistance() - Constructor for class org.apache.commons.text.similarity.CosineDistance
- cosineSimilarity(Map<CharSequence, Integer>, Map<CharSequence, Integer>) - Method in class org.apache.commons.text.similarity.CosineSimilarity
-
Calculates the cosine similarity for two given vectors.
- CosineSimilarity - Class in org.apache.commons.text.similarity
-
Measures the Cosine similarity of two vectors of an inner product space and compares the angle between them.
- CosineSimilarity() - Constructor for class org.apache.commons.text.similarity.CosineSimilarity
- createConverter(Integer[], Integer[], Integer[]) - Static method in class org.apache.commons.text.AlphabetConverter
-
Create an alphabet converter, for converting from the original alphabet, to the encoded alphabet, while leaving the characters in doNotEncode as they are (if possible).
- createConverterFromChars(Character[], Character[], Character[]) - Static method in class org.apache.commons.text.AlphabetConverter
-
Create an alphabet converter, for converting from the original alphabet, to the encoded alphabet, while leaving the characters in doNotEncode as they are (if possible).
- createConverterFromMap(Map<Integer, String>) - Static method in class org.apache.commons.text.AlphabetConverter
-
Create a new converter from a map.
- createInterpolator() - Static method in class org.apache.commons.text.StringSubstitutor
-
Creates a new instance using the interpolator string lookup
StringLookupFactory.interpolatorStringLookup()
. - CsvEscaper() - Constructor for class org.apache.commons.text.translate.CsvTranslators.CsvEscaper
- CsvTranslators - Class in org.apache.commons.text.translate
-
This class holds inner classes for escaping/unescaping Comma Separated Values.
- CsvTranslators.CsvEscaper - Class in org.apache.commons.text.translate
-
Translator for escaping Comma Separated Values.
- CsvTranslators.CsvUnescaper - Class in org.apache.commons.text.translate
-
Translator for unescaping escaped Comma Separated Value entries.
- CsvUnescaper() - Constructor for class org.apache.commons.text.translate.CsvTranslators.CsvUnescaper
D
- DATE - org.apache.commons.text.lookup.DefaultStringLookup
-
The lookup for dates using the key "date".
- dateStringLookup() - Method in class org.apache.commons.text.lookup.StringLookupFactory
-
Returns the DateStringLookup singleton instance to format the current date with the format given in the key in a format compatible with
SimpleDateFormat
. - decode(String) - Method in class org.apache.commons.text.AlphabetConverter
-
Decode a given string.
- DEFAULT_ESCAPE - Static variable in class org.apache.commons.text.StringSubstitutor
-
Constant for the default escape character.
- DEFAULT_ESCAPE - Static variable in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Constant for the default escape character.
- DEFAULT_LENGTH - Static variable in class org.apache.commons.text.RandomStringGenerator.Builder
-
The default string length produced by this builder: 0.
- DEFAULT_MAXIMUM_CODE_POINT - Static variable in class org.apache.commons.text.RandomStringGenerator.Builder
-
The default maximum code point allowed:
Character.MAX_CODE_POINT
(1114111). - DEFAULT_MINIMUM_CODE_POINT - Static variable in class org.apache.commons.text.RandomStringGenerator.Builder
-
The default minimum code point allowed: 0.
- DEFAULT_PREFIX - Static variable in class org.apache.commons.text.StringSubstitutor
-
Constant for the default variable prefix.
- DEFAULT_PREFIX - Static variable in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Constant for the default variable prefix.
- DEFAULT_SUFFIX - Static variable in class org.apache.commons.text.StringSubstitutor
-
Constant for the default variable suffix.
- DEFAULT_SUFFIX - Static variable in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Constant for the default variable suffix.
- DEFAULT_VALUE_DELIMITER - Static variable in class org.apache.commons.text.StringSubstitutor
-
Constant for the default value delimiter of a variable.
- DEFAULT_VALUE_DELIMITER - Static variable in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Constant for the default value delimiter of a variable.
- DEFAULT_VAR_DEFAULT - Static variable in class org.apache.commons.text.StringSubstitutor
-
The default variable default separator.
- DEFAULT_VAR_END - Static variable in class org.apache.commons.text.StringSubstitutor
-
The default variable end separator.
- DEFAULT_VAR_START - Static variable in class org.apache.commons.text.StringSubstitutor
-
The default variable start separator.
- DefaultStringLookup - Enum in org.apache.commons.text.lookup
-
An enumeration defining
StringLookup
objects available throughStringLookupFactory
. - delete(int, int) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Deletes the characters between the two specified indices.
- delete(int, int) - Method in class org.apache.commons.text.TextStringBuilder
-
Deletes the characters between the two specified indices.
- deleteAll(char) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Deletes the character wherever it occurs in the builder.
- deleteAll(char) - Method in class org.apache.commons.text.TextStringBuilder
-
Deletes the character wherever it occurs in the builder.
- deleteAll(String) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Deletes the string wherever it occurs in the builder.
- deleteAll(String) - Method in class org.apache.commons.text.TextStringBuilder
-
Deletes the string wherever it occurs in the builder.
- deleteAll(StringMatcher) - Method in class org.apache.commons.text.TextStringBuilder
-
Deletes all parts of the builder that the matcher matches.
- deleteAll(StrMatcher) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Deletes all parts of the builder that the matcher matches.
- deleteCharAt(int) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Deletes the character at the specified index.
- deleteCharAt(int) - Method in class org.apache.commons.text.TextStringBuilder
-
Deletes the character at the specified index.
- DeleteCommand<T> - Class in org.apache.commons.text.diff
-
Command representing the deletion of one object of the first sequence.
- DeleteCommand(T) - Constructor for class org.apache.commons.text.diff.DeleteCommand
-
Simple constructor.
- deleteFirst(char) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Deletes the character wherever it occurs in the builder.
- deleteFirst(char) - Method in class org.apache.commons.text.TextStringBuilder
-
Deletes the character wherever it occurs in the builder.
- deleteFirst(String) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Deletes the string wherever it occurs in the builder.
- deleteFirst(String) - Method in class org.apache.commons.text.TextStringBuilder
-
Deletes the string wherever it occurs in the builder.
- deleteFirst(StringMatcher) - Method in class org.apache.commons.text.TextStringBuilder
-
Deletes the first match within the builder using the specified matcher.
- deleteFirst(StrMatcher) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Deletes the first match within the builder using the specified matcher.
- DIGITS - org.apache.commons.text.CharacterPredicates
-
Tests code points against
Character.isDigit(int)
. - DNS - org.apache.commons.text.lookup.DefaultStringLookup
-
The lookup for DNS using the key "dns".
- dnsStringLookup() - Method in class org.apache.commons.text.lookup.StringLookupFactory
-
Returns the DnsStringLookup singleton instance where the lookup key is one of: name: for the local host name, for example
EXAMPLE
but alsoEXAMPLE.apache.org
. canonical-name: for the local canonical host name, for exampleEXAMPLE.apache.org
. address: for the local host address, for example192.168.56.1
. - doubleQuoteMatcher() - Method in class org.apache.commons.text.matcher.StringMatcherFactory
-
Returns a matcher which matches the double quote character.
- doubleQuoteMatcher() - Static method in class org.apache.commons.text.StrMatcher
-
Deprecated.Returns a matcher which matches the double quote character.
- drainChar(int) - Method in class org.apache.commons.text.TextStringBuilder
-
Gets the character at the specified index before deleting it.
- drainChars(int, int, char[], int) - Method in class org.apache.commons.text.TextStringBuilder
-
Drains (copies, then deletes) this character sequence into the specified array.
E
- EditCommand<T> - Class in org.apache.commons.text.diff
-
Abstract base class for all commands used to transform an objects sequence into another one.
- EditCommand(T) - Constructor for class org.apache.commons.text.diff.EditCommand
-
Simple constructor.
- EditDistance<R> - Interface in org.apache.commons.text.similarity
-
Interface for Edit Distances.
- EditDistanceFrom<R> - Class in org.apache.commons.text.similarity
-
This stores a
EditDistance
implementation and aCharSequence
"left" string. - EditDistanceFrom(EditDistance<R>, CharSequence) - Constructor for class org.apache.commons.text.similarity.EditDistanceFrom
-
This accepts the edit distance implementation and the "left" string.
- EditScript<T> - Class in org.apache.commons.text.diff
-
This class gathers all the
commands
needed to transform one objects sequence into another objects sequence. - EditScript() - Constructor for class org.apache.commons.text.diff.EditScript
-
Simple constructor.
- encode(String) - Method in class org.apache.commons.text.AlphabetConverter
-
Encode a given string.
- endsWith(String) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Checks whether this builder ends with the specified string.
- endsWith(String) - Method in class org.apache.commons.text.TextStringBuilder
-
Checks whether this builder ends with the specified string.
- ensureCapacity(int) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Checks the capacity and ensures that it is at least the size specified.
- ensureCapacity(int) - Method in class org.apache.commons.text.TextStringBuilder
-
Checks the capacity and ensures that it is at least the size specified.
- EntityArrays - Class in org.apache.commons.text.translate
-
Class holding various entity data for HTML and XML - generally for use with the LookupTranslator.
- EntityArrays() - Constructor for class org.apache.commons.text.translate.EntityArrays
- ENVIRONMENT - org.apache.commons.text.lookup.DefaultStringLookup
-
The lookup for environment properties using the key "env".
- environmentVariableStringLookup() - Method in class org.apache.commons.text.lookup.StringLookupFactory
-
Returns the EnvironmentVariableStringLookup singleton instance where the lookup key is an environment variable name.
- equals(Object) - Method in class org.apache.commons.text.AlphabetConverter
- equals(Object) - Method in class org.apache.commons.text.ExtendedMessageFormat
-
Check if this extended message format is equal to another object.
- equals(Object) - Method in class org.apache.commons.text.similarity.IntersectionResult
- equals(Object) - Method in class org.apache.commons.text.similarity.LevenshteinResults
- equals(Object) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Checks the contents of this builder against another to see if they contain the same character content.
- equals(Object) - Method in class org.apache.commons.text.TextStringBuilder
-
Checks the contents of this builder against another to see if they contain the same character content.
- equals(StrBuilder) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Checks the contents of this builder against another to see if they contain the same character content.
- equals(TextStringBuilder) - Method in class org.apache.commons.text.TextStringBuilder
-
Checks the contents of this builder against another to see if they contain the same character content.
- equalsIgnoreCase(StrBuilder) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Checks the contents of this builder against another to see if they contain the same character content ignoring case.
- equalsIgnoreCase(TextStringBuilder) - Method in class org.apache.commons.text.TextStringBuilder
-
Checks the contents of this builder against another to see if they contain the same character content ignoring case.
- errorIfNoSemiColon - org.apache.commons.text.translate.NumericEntityUnescaper.OPTION
-
Throw an exception if a semi-colon is missing.
- escape(String) - Method in class org.apache.commons.text.StringEscapeUtils.Builder
-
Escape
input
according to the givenCharSequenceTranslator
. - ESCAPE_CSV - Static variable in class org.apache.commons.text.StringEscapeUtils
-
Translator object for escaping individual Comma Separated Values.
- ESCAPE_ECMASCRIPT - Static variable in class org.apache.commons.text.StringEscapeUtils
-
Translator object for escaping EcmaScript/JavaScript.
- ESCAPE_HTML3 - Static variable in class org.apache.commons.text.StringEscapeUtils
-
Translator object for escaping HTML version 3.0.
- ESCAPE_HTML4 - Static variable in class org.apache.commons.text.StringEscapeUtils
-
Translator object for escaping HTML version 4.0.
- ESCAPE_JAVA - Static variable in class org.apache.commons.text.StringEscapeUtils
-
Translator object for escaping Java.
- ESCAPE_JSON - Static variable in class org.apache.commons.text.StringEscapeUtils
-
Translator object for escaping Json.
- ESCAPE_XML10 - Static variable in class org.apache.commons.text.StringEscapeUtils
-
Translator object for escaping XML 1.0.
- ESCAPE_XML11 - Static variable in class org.apache.commons.text.StringEscapeUtils
-
Translator object for escaping XML 1.1.
- ESCAPE_XSI - Static variable in class org.apache.commons.text.StringEscapeUtils
-
Translator object for escaping Shell command language.
- escapeCsv(String) - Static method in class org.apache.commons.text.StringEscapeUtils
-
Returns a
String
value for a CSV column enclosed in double quotes, if required. - escapeEcmaScript(String) - Static method in class org.apache.commons.text.StringEscapeUtils
-
Escapes the characters in a
String
using EcmaScript String rules. - escapeHtml3(String) - Static method in class org.apache.commons.text.StringEscapeUtils
-
Escapes the characters in a
String
using HTML entities. - escapeHtml4(String) - Static method in class org.apache.commons.text.StringEscapeUtils
-
Escapes the characters in a
String
using HTML entities. - escapeJava(String) - Static method in class org.apache.commons.text.StringEscapeUtils
-
Escapes the characters in a
String
using Java String rules. - escapeJson(String) - Static method in class org.apache.commons.text.StringEscapeUtils
-
Escapes the characters in a
String
using Json String rules. - escapeXml10(String) - Static method in class org.apache.commons.text.StringEscapeUtils
-
Escapes the characters in a
String
using XML entities. - escapeXml11(String) - Static method in class org.apache.commons.text.StringEscapeUtils
-
Escapes the characters in a
String
using XML entities. - escapeXSI(String) - Static method in class org.apache.commons.text.StringEscapeUtils
-
Escapes the characters in a
String
using XSI rules. - ExtendedMessageFormat - Class in org.apache.commons.text
-
Extends
java.text.MessageFormat
to allow pluggable/additional formatting options for embedded format elements. - ExtendedMessageFormat(String) - Constructor for class org.apache.commons.text.ExtendedMessageFormat
-
Create a new ExtendedMessageFormat for the default locale.
- ExtendedMessageFormat(String, Locale) - Constructor for class org.apache.commons.text.ExtendedMessageFormat
-
Create a new ExtendedMessageFormat.
- ExtendedMessageFormat(String, Locale, Map<String, ? extends FormatFactory>) - Constructor for class org.apache.commons.text.ExtendedMessageFormat
-
Create a new ExtendedMessageFormat.
- ExtendedMessageFormat(String, Map<String, ? extends FormatFactory>) - Constructor for class org.apache.commons.text.ExtendedMessageFormat
-
Create a new ExtendedMessageFormat for the default locale.
F
- FILE - org.apache.commons.text.lookup.DefaultStringLookup
-
The lookup for files using the key "file".
- fileStringLookup() - Method in class org.apache.commons.text.lookup.StringLookupFactory
-
Returns the FileStringLookup singleton instance.
- filteredBy(CharacterPredicate...) - Method in class org.apache.commons.text.RandomStringGenerator.Builder
-
Limits the characters in the generated string to those that match at least one of the predicates supplied.
- format(Object, StringBuffer, FieldPosition) - Method in class org.apache.commons.text.CompositeFormat
-
Uses the formatter Format instance.
- FormatFactory - Interface in org.apache.commons.text
-
Format factory.
- FormattableUtils - Class in org.apache.commons.text
-
Provides utilities for working with the
Formattable
interface. - FormattableUtils() - Constructor for class org.apache.commons.text.FormattableUtils
-
FormattableUtils
instances should NOT be constructed in standard programming. - functionStringLookup(Function<String, R>) - Method in class org.apache.commons.text.lookup.StringLookupFactory
-
Returns a new function-based lookup where the request for a lookup is answered by applying the function with a lookup key.
- fuzzyScore(CharSequence, CharSequence) - Method in class org.apache.commons.text.similarity.FuzzyScore
-
Find the Fuzzy Score which indicates the similarity score between two Strings.
- FuzzyScore - Class in org.apache.commons.text.similarity
-
A matching algorithm that is similar to the searching algorithms implemented in editors such as Sublime Text, TextMate, Atom and others.
- FuzzyScore(Locale) - Constructor for class org.apache.commons.text.similarity.FuzzyScore
-
This returns a
Locale
-specificFuzzyScore
.
G
- generate(int) - Method in class org.apache.commons.text.RandomStringGenerator
-
Generates a random string, containing the specified number of code points.
- generate(int, int) - Method in class org.apache.commons.text.RandomStringGenerator
-
Generates a random string, containing between the minimum (inclusive) and the maximum (inclusive) number of code points.
- getChars(char[]) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Copies the character array into the specified array.
- getChars(char[]) - Method in class org.apache.commons.text.TextStringBuilder
-
Copies this character array into the specified array.
- getChars(int, int, char[], int) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Copies the character array into the specified array.
- getChars(int, int, char[], int) - Method in class org.apache.commons.text.TextStringBuilder
-
Copies this character array into the specified array.
- getContent() - Method in class org.apache.commons.text.StringTokenizer
-
Gets the String content that the tokenizer is parsing.
- getContent() - Method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Gets the String content that the tokenizer is parsing.
- getCSVInstance() - Static method in class org.apache.commons.text.StringTokenizer
-
Gets a new tokenizer instance which parses Comma Separated Value strings initializing it with the given input.
- getCSVInstance() - Static method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Gets a new tokenizer instance which parses Comma Separated Value strings initializing it with the given input.
- getCSVInstance(char[]) - Static method in class org.apache.commons.text.StringTokenizer
-
Gets a new tokenizer instance which parses Comma Separated Value strings initializing it with the given input.
- getCSVInstance(char[]) - Static method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Gets a new tokenizer instance which parses Comma Separated Value strings initializing it with the given input.
- getCSVInstance(String) - Static method in class org.apache.commons.text.StringTokenizer
-
Gets a new tokenizer instance which parses Comma Separated Value strings initializing it with the given input.
- getCSVInstance(String) - Static method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Gets a new tokenizer instance which parses Comma Separated Value strings initializing it with the given input.
- getDefaultInstance() - Static method in class org.apache.commons.text.similarity.LevenshteinDetailedDistance
-
Gets the default instance.
- getDefaultInstance() - Static method in class org.apache.commons.text.similarity.LevenshteinDistance
-
Gets the default instance.
- getDeleteCount() - Method in class org.apache.commons.text.similarity.LevenshteinResults
-
Get the number of character deletion needed to change one character sequence to other.
- getDelimiterMatcher() - Method in class org.apache.commons.text.StringTokenizer
-
Gets the field delimiter matcher.
- getDelimiterMatcher() - Method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Gets the field delimiter matcher.
- getDistance() - Method in class org.apache.commons.text.similarity.LevenshteinResults
-
Get the distance between two character sequences.
- getEditDistance() - Method in class org.apache.commons.text.similarity.EditDistanceFrom
-
Gets the edit distance.
- getEncodedCharLength() - Method in class org.apache.commons.text.AlphabetConverter
-
Get the length of characters in the encoded alphabet that are necessary for each character in the original alphabet.
- getEscapeChar() - Method in class org.apache.commons.text.StringSubstitutor
-
Returns the escape character.
- getEscapeChar() - Method in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Returns the escape character.
- getFormat(String, String, Locale) - Method in interface org.apache.commons.text.FormatFactory
-
Create or retrieve a format instance.
- getFormatter() - Method in class org.apache.commons.text.CompositeFormat
-
Provides access to the parser Format implementation.
- getIgnoredMatcher() - Method in class org.apache.commons.text.StringTokenizer
-
Gets the ignored character matcher.
- getIgnoredMatcher() - Method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Gets the ignored character matcher.
- getInsertCount() - Method in class org.apache.commons.text.similarity.LevenshteinResults
-
Get the number of insertion needed to change one character sequence into another.
- getIntersection() - Method in class org.apache.commons.text.similarity.IntersectionResult
-
Get the size of the intersection between set A and B.
- getKey() - Method in enum org.apache.commons.text.lookup.DefaultStringLookup
-
Returns the standard prefix for the lookup object of this kind.
- getLCSLength() - Method in class org.apache.commons.text.diff.EditScript
-
Get the length of the Longest Common Subsequence (LCS).
- getLeft() - Method in class org.apache.commons.text.similarity.EditDistanceFrom
-
Gets the left parameter.
- getLeft() - Method in class org.apache.commons.text.similarity.SimilarityScoreFrom
-
Gets the left parameter.
- getLocale() - Method in class org.apache.commons.text.similarity.FuzzyScore
-
Gets the locale.
- getModifications() - Method in class org.apache.commons.text.diff.EditScript
-
Get the number of effective modifications.
- getNewLineText() - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Gets the text to be appended when a new line is added.
- getNewLineText() - Method in class org.apache.commons.text.TextStringBuilder
-
Gets the text to be appended when a new line is added.
- getNullText() - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Gets the text to be appended when null is added.
- getNullText() - Method in class org.apache.commons.text.TextStringBuilder
-
Gets the text to be appended when null is added.
- getObject() - Method in class org.apache.commons.text.diff.EditCommand
-
Returns the object associated with this command.
- getOriginalToEncoded() - Method in class org.apache.commons.text.AlphabetConverter
-
Get the mapping from integer code point of source language to encoded string.
- getParser() - Method in class org.apache.commons.text.CompositeFormat
-
Provides access to the parser Format implementation.
- getQuoteMatcher() - Method in class org.apache.commons.text.StringTokenizer
-
Gets the quote matcher currently in use.
- getQuoteMatcher() - Method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Gets the quote matcher currently in use.
- getScript() - Method in class org.apache.commons.text.diff.StringsComparator
-
Get the
EditScript
object. - getSimilarityScore() - Method in class org.apache.commons.text.similarity.SimilarityScoreFrom
-
Gets the edit distance.
- getSizeA() - Method in class org.apache.commons.text.similarity.IntersectionResult
-
Get the size of set A.
- getSizeB() - Method in class org.apache.commons.text.similarity.IntersectionResult
-
Get the size of set B.
- getStringLookup() - Method in enum org.apache.commons.text.lookup.DefaultStringLookup
-
Returns the standard
StringLookup
instance of this kind. - getStringLookup() - Method in class org.apache.commons.text.StringSubstitutor
-
Gets the StringLookup that is used to lookup variables.
- getSubstituteCount() - Method in class org.apache.commons.text.similarity.LevenshteinResults
-
Get the number of character substitution needed to change one character sequence into another.
- getThreshold() - Method in class org.apache.commons.text.similarity.LevenshteinDetailedDistance
-
Gets the distance threshold.
- getThreshold() - Method in class org.apache.commons.text.similarity.LevenshteinDistance
-
Gets the distance threshold.
- getTokenArray() - Method in class org.apache.commons.text.StringTokenizer
-
Gets a copy of the full token list as an independent modifiable array.
- getTokenArray() - Method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Gets a copy of the full token list as an independent modifiable array.
- getTokenList() - Method in class org.apache.commons.text.StringTokenizer
-
Gets a copy of the full token list as an independent modifiable list.
- getTokenList() - Method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Gets a copy of the full token list as an independent modifiable list.
- getTrimmerMatcher() - Method in class org.apache.commons.text.StringTokenizer
-
Gets the trimmer character matcher.
- getTrimmerMatcher() - Method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Gets the trimmer character matcher.
- getTSVInstance() - Static method in class org.apache.commons.text.StringTokenizer
-
Gets a new tokenizer instance which parses Tab Separated Value strings.
- getTSVInstance() - Static method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Gets a new tokenizer instance which parses Tab Separated Value strings.
- getTSVInstance(char[]) - Static method in class org.apache.commons.text.StringTokenizer
-
Gets a new tokenizer instance which parses Tab Separated Value strings.
- getTSVInstance(char[]) - Static method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Gets a new tokenizer instance which parses Tab Separated Value strings.
- getTSVInstance(String) - Static method in class org.apache.commons.text.StringTokenizer
-
Gets a new tokenizer instance which parses Tab Separated Value strings.
- getTSVInstance(String) - Static method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Gets a new tokenizer instance which parses Tab Separated Value strings.
- getValueDelimiterMatcher() - Method in class org.apache.commons.text.StringSubstitutor
-
Gets the variable default value delimiter matcher currently in use.
- getValueDelimiterMatcher() - Method in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Gets the variable default value delimiter matcher currently in use.
- getVariablePrefixMatcher() - Method in class org.apache.commons.text.StringSubstitutor
-
Gets the variable prefix matcher currently in use.
- getVariablePrefixMatcher() - Method in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Gets the variable prefix matcher currently in use.
- getVariableResolver() - Method in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Gets the VariableResolver that is used to lookup variables.
- getVariableSuffixMatcher() - Method in class org.apache.commons.text.StringSubstitutor
-
Gets the variable suffix matcher currently in use.
- getVariableSuffixMatcher() - Method in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Gets the variable suffix matcher currently in use.
H
- HammingDistance - Class in org.apache.commons.text.similarity
-
The hamming distance between two strings of equal length is the number of positions at which the corresponding symbols are different.
- HammingDistance() - Constructor for class org.apache.commons.text.similarity.HammingDistance
- handleReplacement(int, List<T>, List<T>) - Method in interface org.apache.commons.text.diff.ReplacementsHandler
-
Handle two synchronized sequences.
- hashCode() - Method in class org.apache.commons.text.AlphabetConverter
- hashCode() - Method in class org.apache.commons.text.ExtendedMessageFormat
- hashCode() - Method in class org.apache.commons.text.similarity.IntersectionResult
- hashCode() - Method in class org.apache.commons.text.similarity.LevenshteinResults
- hashCode() - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Gets a suitable hash code for this builder.
- hashCode() - Method in class org.apache.commons.text.TextStringBuilder
-
Gets a suitable hash code for this builder.
- hasNext() - Method in class org.apache.commons.text.StringTokenizer
-
Checks whether there are any more tokens.
- hasNext() - Method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Checks whether there are any more tokens.
- hasPrevious() - Method in class org.apache.commons.text.StringTokenizer
-
Checks whether there are any previous tokens that can be iterated to.
- hasPrevious() - Method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Checks whether there are any previous tokens that can be iterated to.
- hex(int) - Static method in class org.apache.commons.text.translate.CharSequenceTranslator
-
Returns an upper case hexadecimal
String
for the given character. - HTML40_EXTENDED_ESCAPE - Static variable in class org.apache.commons.text.translate.EntityArrays
-
A Map<CharSequence, CharSequence> to escape additional character entity references.
- HTML40_EXTENDED_UNESCAPE - Static variable in class org.apache.commons.text.translate.EntityArrays
-
Reverse of
EntityArrays.HTML40_EXTENDED_ESCAPE
for unescaping purposes.
I
- INDEX_NOT_FOUND - Static variable in class org.apache.commons.text.similarity.JaroWinklerDistance
-
Deprecated.Deprecated as of 1.7. This constant will be removed in 2.0.
- indexOf(char) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Searches the string builder to find the first reference to the specified char.
- indexOf(char) - Method in class org.apache.commons.text.TextStringBuilder
-
Searches the string builder to find the first reference to the specified char.
- indexOf(char, int) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Searches the string builder to find the first reference to the specified char.
- indexOf(char, int) - Method in class org.apache.commons.text.TextStringBuilder
-
Searches the string builder to find the first reference to the specified char.
- indexOf(String) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Searches the string builder to find the first reference to the specified string.
- indexOf(String) - Method in class org.apache.commons.text.TextStringBuilder
-
Searches the string builder to find the first reference to the specified string.
- indexOf(String, int) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Searches the string builder to find the first reference to the specified string starting searching from the given index.
- indexOf(String, int) - Method in class org.apache.commons.text.TextStringBuilder
-
Searches the string builder to find the first reference to the specified string starting searching from the given index.
- indexOf(StringMatcher) - Method in class org.apache.commons.text.TextStringBuilder
-
Searches the string builder using the matcher to find the first match.
- indexOf(StringMatcher, int) - Method in class org.apache.commons.text.TextStringBuilder
-
Searches the string builder using the matcher to find the first match searching from the given index.
- indexOf(StrMatcher) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Searches the string builder using the matcher to find the first match.
- indexOf(StrMatcher, int) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Searches the string builder using the matcher to find the first match searching from the given index.
- initials(String) - Static method in class org.apache.commons.text.WordUtils
-
Extracts the initial characters from each word in the String.
- initials(String, char...) - Static method in class org.apache.commons.text.WordUtils
-
Extracts the initial characters from each word in the String.
- insert(int, boolean) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Inserts the value into this builder.
- insert(int, boolean) - Method in class org.apache.commons.text.TextStringBuilder
-
Inserts the value into this builder.
- insert(int, char) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Inserts the value into this builder.
- insert(int, char) - Method in class org.apache.commons.text.TextStringBuilder
-
Inserts the value into this builder.
- insert(int, char[]) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Inserts the character array into this builder.
- insert(int, char[]) - Method in class org.apache.commons.text.TextStringBuilder
-
Inserts the character array into this builder.
- insert(int, char[], int, int) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Inserts part of the character array into this builder.
- insert(int, char[], int, int) - Method in class org.apache.commons.text.TextStringBuilder
-
Inserts part of the character array into this builder.
- insert(int, double) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Inserts the value into this builder.
- insert(int, double) - Method in class org.apache.commons.text.TextStringBuilder
-
Inserts the value into this builder.
- insert(int, float) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Inserts the value into this builder.
- insert(int, float) - Method in class org.apache.commons.text.TextStringBuilder
-
Inserts the value into this builder.
- insert(int, int) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Inserts the value into this builder.
- insert(int, int) - Method in class org.apache.commons.text.TextStringBuilder
-
Inserts the value into this builder.
- insert(int, long) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Inserts the value into this builder.
- insert(int, long) - Method in class org.apache.commons.text.TextStringBuilder
-
Inserts the value into this builder.
- insert(int, Object) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Inserts the string representation of an object into this builder.
- insert(int, Object) - Method in class org.apache.commons.text.TextStringBuilder
-
Inserts the string representation of an object into this builder.
- insert(int, String) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Inserts the string into this builder.
- insert(int, String) - Method in class org.apache.commons.text.TextStringBuilder
-
Inserts the string into this builder.
- InsertCommand<T> - Class in org.apache.commons.text.diff
-
Command representing the insertion of one object of the second sequence.
- InsertCommand(T) - Constructor for class org.apache.commons.text.diff.InsertCommand
-
Simple constructor.
- INSTANCE - Static variable in class org.apache.commons.text.lookup.StringLookupFactory
-
Defines the singleton for this class.
- INSTANCE - Static variable in class org.apache.commons.text.matcher.StringMatcherFactory
-
Defines the singleton for this class.
- interpolatorStringLookup() - Method in class org.apache.commons.text.lookup.StringLookupFactory
-
Returns a new InterpolatorStringLookup using the
default lookups
. - interpolatorStringLookup(Map<String, StringLookup>, StringLookup, boolean) - Method in class org.apache.commons.text.lookup.StringLookupFactory
-
Returns a new InterpolatorStringLookup using the
default lookups
. - interpolatorStringLookup(Map<String, V>) - Method in class org.apache.commons.text.lookup.StringLookupFactory
-
Returns a new InterpolatorStringLookup using the
default lookups
. - interpolatorStringLookup(StringLookup) - Method in class org.apache.commons.text.lookup.StringLookupFactory
-
Returns a new InterpolatorStringLookup using the
default lookups
. - IntersectionResult - Class in org.apache.commons.text.similarity
-
Represents the intersection result between two sets.
- IntersectionResult(int, int, int) - Constructor for class org.apache.commons.text.similarity.IntersectionResult
-
Create the results for an intersection between two sets.
- IntersectionSimilarity<T> - Class in org.apache.commons.text.similarity
-
Measures the intersection of two sets created from a pair of character sequences.
- IntersectionSimilarity(Function<CharSequence, Collection<T>>) - Constructor for class org.apache.commons.text.similarity.IntersectionSimilarity
-
Create a new intersection similarity using the provided converter.
- invert(Map<CharSequence, CharSequence>) - Static method in class org.apache.commons.text.translate.EntityArrays
-
Used to invert an escape Map into an unescape Map.
- isDelimiter(char, char[]) - Static method in class org.apache.commons.text.WordUtils
-
Deprecated.as of 1.2 and will be removed in 2.0
- isDelimiter(int, char[]) - Static method in class org.apache.commons.text.WordUtils
-
Deprecated.as of 1.2 and will be removed in 2.0
- isDisableSubstitutionInValues() - Method in class org.apache.commons.text.StringSubstitutor
-
Returns a flag whether substitution is disabled in variable values.If set to true, the values of variables can contain other variables will not be processed and substituted original variable is evaluated, e.g.
- isDisableSubstitutionInValues() - Method in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Returns a flag whether substitution is disabled in variable values.If set to true, the values of variables can contain other variables will not be processed and substituted original variable is evaluated, e.g.
- isEmpty() - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Checks is the string builder is empty (convenience Collections API style method).
- isEmpty() - Method in class org.apache.commons.text.TextStringBuilder
-
Checks is the string builder is empty (convenience Collections API style method).
- isEmptyTokenAsNull() - Method in class org.apache.commons.text.StringTokenizer
-
Gets whether the tokenizer currently returns empty tokens as null.
- isEmptyTokenAsNull() - Method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Gets whether the tokenizer currently returns empty tokens as null.
- isEnableSubstitutionInVariables() - Method in class org.apache.commons.text.StringSubstitutor
-
Returns a flag whether substitution is done in variable names.
- isEnableSubstitutionInVariables() - Method in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Returns a flag whether substitution is done in variable names.
- isEnableUndefinedVariableException() - Method in class org.apache.commons.text.StringSubstitutor
-
Returns a flag whether exception can be thrown upon undefined variable.
- isIgnoreEmptyTokens() - Method in class org.apache.commons.text.StringTokenizer
-
Gets whether the tokenizer currently ignores empty tokens.
- isIgnoreEmptyTokens() - Method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Gets whether the tokenizer currently ignores empty tokens.
- isMatch(char[], int) - Method in interface org.apache.commons.text.matcher.StringMatcher
-
Returns the number of matching characters, zero for no match.
- isMatch(char[], int) - Method in class org.apache.commons.text.StrMatcher
-
Deprecated.Returns the number of matching characters, or zero if there is no match.
- isMatch(char[], int, int, int) - Method in interface org.apache.commons.text.matcher.StringMatcher
-
Returns the number of matching characters,
0
if there is no match. - isMatch(char[], int, int, int) - Method in class org.apache.commons.text.StrMatcher
-
Deprecated.Returns the number of matching characters, or zero if there is no match.
- isMatch(CharSequence, int) - Method in interface org.apache.commons.text.matcher.StringMatcher
-
Returns the number of matching characters, zero for no match.
- isMatch(CharSequence, int, int, int) - Method in interface org.apache.commons.text.matcher.StringMatcher
-
Returns the number of matching characters,
0
if there is no match. - isNotEmpty() - Method in class org.apache.commons.text.TextStringBuilder
-
Checks is the string builder is not empty.
- ISO8859_1_ESCAPE - Static variable in class org.apache.commons.text.translate.EntityArrays
-
A Map<CharSequence, CharSequence> to to escape ISO-8859-1 characters to their named HTML 3.x equivalents.
- ISO8859_1_UNESCAPE - Static variable in class org.apache.commons.text.translate.EntityArrays
-
Reverse of
EntityArrays.ISO8859_1_ESCAPE
for unescaping purposes. - isPreserveEscapes() - Method in class org.apache.commons.text.StringSubstitutor
-
Returns the flag controlling whether escapes are preserved during substitution.
- isPreserveEscapes() - Method in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Returns the flag controlling whether escapes are preserved during substitution.
- isReallocated() - Method in class org.apache.commons.text.TextStringBuilder
-
Gets whether the internal buffer has been reallocated.
- isSet(NumericEntityUnescaper.OPTION) - Method in class org.apache.commons.text.translate.NumericEntityUnescaper
-
Whether the passed in option is currently set.
J
- JaccardDistance - Class in org.apache.commons.text.similarity
-
Measures the Jaccard distance of two sets of character sequence.
- JaccardDistance() - Constructor for class org.apache.commons.text.similarity.JaccardDistance
- JaccardSimilarity - Class in org.apache.commons.text.similarity
-
Measures the Jaccard similarity (aka Jaccard index) of two sets of character sequence.
- JaccardSimilarity() - Constructor for class org.apache.commons.text.similarity.JaccardSimilarity
- JaroWinklerDistance - Class in org.apache.commons.text.similarity
-
Measures the Jaro-Winkler distance of two character sequences.
- JaroWinklerDistance() - Constructor for class org.apache.commons.text.similarity.JaroWinklerDistance
- JaroWinklerSimilarity - Class in org.apache.commons.text.similarity
-
A similarity algorithm indicating the percentage of matched characters between two character sequences.
- JaroWinklerSimilarity() - Constructor for class org.apache.commons.text.similarity.JaroWinklerSimilarity
- JAVA - org.apache.commons.text.lookup.DefaultStringLookup
-
The lookup for Java platform information using the key "java".
- JAVA_CTRL_CHARS_ESCAPE - Static variable in class org.apache.commons.text.translate.EntityArrays
-
A Map<CharSequence, CharSequence> to escape the Java control characters.
- JAVA_CTRL_CHARS_UNESCAPE - Static variable in class org.apache.commons.text.translate.EntityArrays
-
Reverse of
EntityArrays.JAVA_CTRL_CHARS_ESCAPE
for unescaping purposes. - javaPlatformStringLookup() - Method in class org.apache.commons.text.lookup.StringLookupFactory
-
Returns the JavaPlatformStringLookup singleton instance.
- JavaUnicodeEscaper - Class in org.apache.commons.text.translate
-
Translates codepoints to their Unicode escaped value suitable for Java source.
- JavaUnicodeEscaper(int, int, boolean) - Constructor for class org.apache.commons.text.translate.JavaUnicodeEscaper
-
Constructs a
JavaUnicodeEscaper
for the specified range.
K
- KeepCommand<T> - Class in org.apache.commons.text.diff
-
Command representing the keeping of one object present in both sequences.
- KeepCommand(T) - Constructor for class org.apache.commons.text.diff.KeepCommand
-
Simple constructor.
- KEY_BASE64_DECODER - Static variable in class org.apache.commons.text.lookup.StringLookupFactory
-
Default lookup key for interpolation "base64Decoder".
- KEY_BASE64_ENCODER - Static variable in class org.apache.commons.text.lookup.StringLookupFactory
-
Default lookup key for interpolation "base64Encoder".
- KEY_CONST - Static variable in class org.apache.commons.text.lookup.StringLookupFactory
-
Default lookup key for interpolation "const".
- KEY_DATE - Static variable in class org.apache.commons.text.lookup.StringLookupFactory
-
Default lookup key for interpolation "date".
- KEY_DNS - Static variable in class org.apache.commons.text.lookup.StringLookupFactory
-
Default lookup key for interpolation "dns".
- KEY_ENV - Static variable in class org.apache.commons.text.lookup.StringLookupFactory
-
Default lookup key for interpolation "env".
- KEY_FILE - Static variable in class org.apache.commons.text.lookup.StringLookupFactory
-
Default lookup key for interpolation "file".
- KEY_JAVA - Static variable in class org.apache.commons.text.lookup.StringLookupFactory
-
Default lookup key for interpolation "java".
- KEY_LOCALHOST - Static variable in class org.apache.commons.text.lookup.StringLookupFactory
-
Default lookup key for interpolation "localhost".
- KEY_PROPERTIES - Static variable in class org.apache.commons.text.lookup.StringLookupFactory
-
Default lookup key for interpolation "properties".
- KEY_RESOURCE_BUNDLE - Static variable in class org.apache.commons.text.lookup.StringLookupFactory
-
Default lookup key for interpolation "resourceBundle".
- KEY_SCRIPT - Static variable in class org.apache.commons.text.lookup.StringLookupFactory
-
Default lookup key for interpolation "script".
- KEY_SYS - Static variable in class org.apache.commons.text.lookup.StringLookupFactory
-
Default lookup key for interpolation "sys".
- KEY_URL - Static variable in class org.apache.commons.text.lookup.StringLookupFactory
-
Default lookup key for interpolation "url".
- KEY_URL_DECODER - Static variable in class org.apache.commons.text.lookup.StringLookupFactory
-
Default lookup key for interpolation "urlDecoder".
- KEY_URL_ENCODER - Static variable in class org.apache.commons.text.lookup.StringLookupFactory
-
Default lookup key for interpolation "urlEncoder".
- KEY_XML - Static variable in class org.apache.commons.text.lookup.StringLookupFactory
-
Default lookup key for interpolation "xml".
L
- lastIndexOf(char) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Searches the string builder to find the last reference to the specified char.
- lastIndexOf(char) - Method in class org.apache.commons.text.TextStringBuilder
-
Searches the string builder to find the last reference to the specified char.
- lastIndexOf(char, int) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Searches the string builder to find the last reference to the specified char.
- lastIndexOf(char, int) - Method in class org.apache.commons.text.TextStringBuilder
-
Searches the string builder to find the last reference to the specified char.
- lastIndexOf(String) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Searches the string builder to find the last reference to the specified string.
- lastIndexOf(String) - Method in class org.apache.commons.text.TextStringBuilder
-
Searches the string builder to find the last reference to the specified string.
- lastIndexOf(String, int) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Searches the string builder to find the last reference to the specified string starting searching from the given index.
- lastIndexOf(String, int) - Method in class org.apache.commons.text.TextStringBuilder
-
Searches the string builder to find the last reference to the specified string starting searching from the given index.
- lastIndexOf(StringMatcher) - Method in class org.apache.commons.text.TextStringBuilder
-
Searches the string builder using the matcher to find the last match.
- lastIndexOf(StringMatcher, int) - Method in class org.apache.commons.text.TextStringBuilder
-
Searches the string builder using the matcher to find the last match searching from the given index.
- lastIndexOf(StrMatcher) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Searches the string builder using the matcher to find the last match.
- lastIndexOf(StrMatcher, int) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Searches the string builder using the matcher to find the last match searching from the given index.
- leftString(int) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Extracts the leftmost characters from the string builder without throwing an exception.
- leftString(int) - Method in class org.apache.commons.text.TextStringBuilder
-
Extracts the leftmost characters from the string builder without throwing an exception.
- length() - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Gets the length of the string builder.
- length() - Method in class org.apache.commons.text.TextStringBuilder
-
Gets the length of the string builder.
- LETTERS - org.apache.commons.text.CharacterPredicates
-
Tests code points against
Character.isLetter(int)
. - LevenshteinDetailedDistance - Class in org.apache.commons.text.similarity
-
An algorithm for measuring the difference between two character sequences.
- LevenshteinDetailedDistance() - Constructor for class org.apache.commons.text.similarity.LevenshteinDetailedDistance
-
This returns the default instance that uses a version of the algorithm that does not use a threshold parameter.
- LevenshteinDetailedDistance(Integer) - Constructor for class org.apache.commons.text.similarity.LevenshteinDetailedDistance
-
If the threshold is not null, distance calculations will be limited to a maximum length.
- LevenshteinDistance - Class in org.apache.commons.text.similarity
-
An algorithm for measuring the difference between two character sequences.
- LevenshteinDistance() - Constructor for class org.apache.commons.text.similarity.LevenshteinDistance
-
This returns the default instance that uses a version of the algorithm that does not use a threshold parameter.
- LevenshteinDistance(Integer) - Constructor for class org.apache.commons.text.similarity.LevenshteinDistance
-
If the threshold is not null, distance calculations will be limited to a maximum length.
- LevenshteinResults - Class in org.apache.commons.text.similarity
-
Container class to store Levenshtein distance between two character sequences.
- LevenshteinResults(Integer, Integer, Integer, Integer) - Constructor for class org.apache.commons.text.similarity.LevenshteinResults
-
Create the results for a detailed Levenshtein distance.
- LOCAL_HOST - org.apache.commons.text.lookup.DefaultStringLookup
-
The lookup for localhost information using the key "localhost".
- localHostStringLookup() - Method in class org.apache.commons.text.lookup.StringLookupFactory
-
Returns the LocalHostStringLookup singleton instance where the lookup key is one of: name: for the local host name, for example
EXAMPLE
. canonical-name: for the local canonical host name, for exampleEXAMPLE.apache.org
. address: for the local host address, for example192.168.56.1
. - logestCommonSubsequence(CharSequence, CharSequence) - Method in class org.apache.commons.text.similarity.LongestCommonSubsequence
-
Deprecated.Deprecated as of 1.2 due to a typo in the method name. Use
LongestCommonSubsequence.longestCommonSubsequence(CharSequence, CharSequence)
instead. This method will be removed in 2.0. - longestCommonSubsequence(CharSequence, CharSequence) - Method in class org.apache.commons.text.similarity.LongestCommonSubsequence
-
Computes the longest common subsequence between the two
CharSequence
's passed as input. - LongestCommonSubsequence - Class in org.apache.commons.text.similarity
-
A similarity algorithm indicating the length of the longest common subsequence between two strings.
- LongestCommonSubsequence() - Constructor for class org.apache.commons.text.similarity.LongestCommonSubsequence
- LongestCommonSubsequenceDistance - Class in org.apache.commons.text.similarity
-
An edit distance algorithm based on the length of the longest common subsequence between two strings.
- LongestCommonSubsequenceDistance() - Constructor for class org.apache.commons.text.similarity.LongestCommonSubsequenceDistance
- longestCommonSubstringLengthArray(CharSequence, CharSequence) - Method in class org.apache.commons.text.similarity.LongestCommonSubsequence
-
Computes the lcsLengthArray for the sake of doing the actual lcs calculation.
- lookup(String) - Method in interface org.apache.commons.text.lookup.StringLookup
-
Looks up a String key to provide a String value.
- lookup(String, U) - Method in interface org.apache.commons.text.lookup.BiStringLookup
-
Looks up a String key to provide a String value.
- LookupTranslator - Class in org.apache.commons.text.translate
-
Translates a value using a lookup table.
- LookupTranslator(Map<CharSequence, CharSequence>) - Constructor for class org.apache.commons.text.translate.LookupTranslator
-
Define the lookup table to be used in translation Note that, as of Lang 3.1 (the origin of this code), the key to the lookup table is converted to a java.lang.String.
M
- mapLookup(Map<String, V>) - Static method in class org.apache.commons.text.StrLookup
-
Deprecated.Returns a lookup which looks up values using a map.
- mapStringLookup(Map<String, V>) - Method in class org.apache.commons.text.lookup.StringLookupFactory
-
Returns a new map-based lookup where the request for a lookup is answered with the value for that key.
- matches(CharSequence, CharSequence) - Static method in class org.apache.commons.text.similarity.JaroWinklerDistance
-
Deprecated.Deprecated as of 1.7. This method will be removed in 2.0, and moved to a Jaro Winkler similarity class.
- matches(CharSequence, CharSequence) - Static method in class org.apache.commons.text.similarity.JaroWinklerSimilarity
-
This method returns the Jaro-Winkler string matches, half transpositions, prefix array.
- midString(int, int) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Extracts some characters from the middle of the string builder without throwing an exception.
- midString(int, int) - Method in class org.apache.commons.text.TextStringBuilder
-
Extracts some characters from the middle of the string builder without throwing an exception.
- minimizeCapacity() - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Minimizes the capacity to the actual length of the string.
- minimizeCapacity() - Method in class org.apache.commons.text.TextStringBuilder
-
Minimizes the capacity to the actual length of the string.
N
- next() - Method in class org.apache.commons.text.StringTokenizer
-
Gets the next token.
- next() - Method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Gets the next token.
- nextIndex() - Method in class org.apache.commons.text.StringTokenizer
-
Gets the index of the next token to return.
- nextIndex() - Method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Gets the index of the next token to return.
- nextInt(int) - Method in interface org.apache.commons.text.TextRandomProvider
-
Generates an int value between 0 (inclusive) and the specified value (exclusive).
- nextToken() - Method in class org.apache.commons.text.StringTokenizer
-
Gets the next token from the String.
- nextToken() - Method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Gets the next token from the String.
- noneLookup() - Static method in class org.apache.commons.text.StrLookup
-
Deprecated.Returns a lookup which always returns null.
- noneMatcher() - Method in class org.apache.commons.text.matcher.StringMatcherFactory
-
Matches no characters.
- noneMatcher() - Static method in class org.apache.commons.text.StrMatcher
-
Deprecated.Matches no characters.
- nullStringLookup() - Method in class org.apache.commons.text.lookup.StringLookupFactory
-
Returns the NullStringLookup singleton instance which always returns null.
- NumericEntityEscaper - Class in org.apache.commons.text.translate
-
Translates codepoints to their XML numeric entity escaped value.
- NumericEntityEscaper() - Constructor for class org.apache.commons.text.translate.NumericEntityEscaper
-
Constructs a
NumericEntityEscaper
for all characters. - NumericEntityUnescaper - Class in org.apache.commons.text.translate
-
Translate XML numeric entities of the form &#[xX]?\d+;? to the specific codepoint.
- NumericEntityUnescaper(NumericEntityUnescaper.OPTION...) - Constructor for class org.apache.commons.text.translate.NumericEntityUnescaper
-
Create a UnicodeUnescaper.
- NumericEntityUnescaper.OPTION - Enum in org.apache.commons.text.translate
-
NumericEntityUnescaper option enum.
O
- OctalUnescaper - Class in org.apache.commons.text.translate
-
Translate escaped octal Strings back to their octal values.
- OctalUnescaper() - Constructor for class org.apache.commons.text.translate.OctalUnescaper
- org.apache.commons.text - package org.apache.commons.text
-
Basic classes for text handling.
- org.apache.commons.text.diff - package org.apache.commons.text.diff
-
Provides algorithms for diff between strings.
- org.apache.commons.text.io - package org.apache.commons.text.io
-
StringSubstitutorReader
is aReader
that performs string substitution on a sourceReader
using aStringSubstitutor
. - org.apache.commons.text.lookup - package org.apache.commons.text.lookup
-
Provides algorithms for looking up strings for use with a
StringSubstitutor
. - org.apache.commons.text.matcher - package org.apache.commons.text.matcher
-
Provides algorithms for matching up strings for use with a
StringSubstitutor
. - org.apache.commons.text.similarity - package org.apache.commons.text.similarity
-
Provides algorithms for string similarity.
- org.apache.commons.text.translate - package org.apache.commons.text.translate
-
An API for creating text translation routines from a set of smaller building blocks.
- outsideOf(int, int) - Static method in class org.apache.commons.text.translate.JavaUnicodeEscaper
-
Constructs a
JavaUnicodeEscaper
outside of the specified values (exclusive). - outsideOf(int, int) - Static method in class org.apache.commons.text.translate.NumericEntityEscaper
-
Constructs a
NumericEntityEscaper
outside of the specified values (exclusive). - outsideOf(int, int) - Static method in class org.apache.commons.text.translate.UnicodeEscaper
-
Constructs a
UnicodeEscaper
outside of the specified values (exclusive).
P
- parseObject(String, ParsePosition) - Method in class org.apache.commons.text.CompositeFormat
-
Uses the parser Format instance.
- previous() - Method in class org.apache.commons.text.StringTokenizer
-
Gets the token previous to the last returned token.
- previous() - Method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Gets the token previous to the last returned token.
- previousIndex() - Method in class org.apache.commons.text.StringTokenizer
-
Gets the index of the previous token.
- previousIndex() - Method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Gets the index of the previous token.
- previousToken() - Method in class org.apache.commons.text.StringTokenizer
-
Gets the previous token from the String.
- previousToken() - Method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Gets the previous token from the String.
- PROPERTIES - org.apache.commons.text.lookup.DefaultStringLookup
-
The lookup for properties using the key "properties".
- propertiesStringLookup() - Method in class org.apache.commons.text.lookup.StringLookupFactory
-
Returns the PropertiesStringLookup singleton instance.
Q
- quoteMatcher() - Method in class org.apache.commons.text.matcher.StringMatcherFactory
-
Returns a matcher which matches the single or double quote character.
- quoteMatcher() - Static method in class org.apache.commons.text.StrMatcher
-
Deprecated.Returns a matcher which matches the single or double quote character.
R
- RandomStringGenerator - Class in org.apache.commons.text
-
Generates random Unicode strings containing the specified number of code points.
- RandomStringGenerator.Builder - Class in org.apache.commons.text
-
A builder for generating
RandomStringGenerator
instances. - read() - Method in class org.apache.commons.text.io.StringSubstitutorReader
-
Reads a single character.
- read(char[], int, int) - Method in class org.apache.commons.text.io.StringSubstitutorReader
-
Reads characters into a portion of an array.
- readFrom(Reader) - Method in class org.apache.commons.text.TextStringBuilder
-
If possible, reads all chars from the provided
Reader
directly into underlying character buffer without making extra copies. - readFrom(Reader, int) - Method in class org.apache.commons.text.TextStringBuilder
-
If possible, reads
count
chars from the providedReader
directly into underlying character buffer without making extra copies. - readFrom(Readable) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.If possible, reads chars from the provided
Readable
directly into underlying character buffer without making extra copies. - readFrom(Readable) - Method in class org.apache.commons.text.TextStringBuilder
-
If possible, reads all chars from the provided
Readable
directly into underlying character buffer without making extra copies. - readFrom(CharBuffer) - Method in class org.apache.commons.text.TextStringBuilder
-
If possible, reads chars from the provided
CharBuffer
directly into underlying character buffer without making extra copies. - reformat(String) - Method in class org.apache.commons.text.CompositeFormat
-
Utility method to parse and then reformat a String.
- remove() - Method in class org.apache.commons.text.StringTokenizer
-
Unsupported ListIterator operation.
- remove() - Method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Unsupported ListIterator operation.
- replace(char[]) - Method in class org.apache.commons.text.StringSubstitutor
-
Replaces all the occurrences of variables with their matching values from the resolver using the given source array as a template.
- replace(char[]) - Method in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Replaces all the occurrences of variables with their matching values from the resolver using the given source array as a template.
- replace(char[], int, int) - Method in class org.apache.commons.text.StringSubstitutor
-
Replaces all the occurrences of variables with their matching values from the resolver using the given source array as a template.
- replace(char[], int, int) - Method in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Replaces all the occurrences of variables with their matching values from the resolver using the given source array as a template.
- replace(int, int, String) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Replaces a portion of the string builder with another string.
- replace(int, int, String) - Method in class org.apache.commons.text.TextStringBuilder
-
Replaces a portion of the string builder with another string.
- replace(CharSequence) - Method in class org.apache.commons.text.StringSubstitutor
-
Replaces all the occurrences of variables with their matching values from the resolver using the given source as a template.
- replace(CharSequence) - Method in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Replaces all the occurrences of variables with their matching values from the resolver using the given source as a template.
- replace(CharSequence, int, int) - Method in class org.apache.commons.text.StringSubstitutor
-
Replaces all the occurrences of variables with their matching values from the resolver using the given source as a template.
- replace(CharSequence, int, int) - Method in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Replaces all the occurrences of variables with their matching values from the resolver using the given source as a template.
- replace(Object) - Method in class org.apache.commons.text.StringSubstitutor
-
Replaces all the occurrences of variables in the given source object with their matching values from the resolver.
- replace(Object) - Method in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Replaces all the occurrences of variables in the given source object with their matching values from the resolver.
- replace(Object, Map<String, V>) - Static method in class org.apache.commons.text.StringSubstitutor
-
Replaces all the occurrences of variables in the given source object with their matching values from the map.
- replace(Object, Map<String, V>) - Static method in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Replaces all the occurrences of variables in the given source object with their matching values from the map.
- replace(Object, Map<String, V>, String, String) - Static method in class org.apache.commons.text.StringSubstitutor
-
Replaces all the occurrences of variables in the given source object with their matching values from the map.
- replace(Object, Map<String, V>, String, String) - Static method in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Replaces all the occurrences of variables in the given source object with their matching values from the map.
- replace(Object, Properties) - Static method in class org.apache.commons.text.StringSubstitutor
-
Replaces all the occurrences of variables in the given source object with their matching values from the properties.
- replace(Object, Properties) - Static method in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Replaces all the occurrences of variables in the given source object with their matching values from the properties.
- replace(String) - Method in class org.apache.commons.text.StringSubstitutor
-
Replaces all the occurrences of variables with their matching values from the resolver using the given source string as a template.
- replace(String) - Method in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Replaces all the occurrences of variables with their matching values from the resolver using the given source string as a template.
- replace(StringBuffer) - Method in class org.apache.commons.text.StringSubstitutor
-
Replaces all the occurrences of variables with their matching values from the resolver using the given source buffer as a template.
- replace(StringBuffer) - Method in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Replaces all the occurrences of variables with their matching values from the resolver using the given source buffer as a template.
- replace(StringBuffer, int, int) - Method in class org.apache.commons.text.StringSubstitutor
-
Replaces all the occurrences of variables with their matching values from the resolver using the given source buffer as a template.
- replace(StringBuffer, int, int) - Method in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Replaces all the occurrences of variables with their matching values from the resolver using the given source buffer as a template.
- replace(String, int, int) - Method in class org.apache.commons.text.StringSubstitutor
-
Replaces all the occurrences of variables with their matching values from the resolver using the given source string as a template.
- replace(String, int, int) - Method in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Replaces all the occurrences of variables with their matching values from the resolver using the given source string as a template.
- replace(StringMatcher, String, int, int, int) - Method in class org.apache.commons.text.TextStringBuilder
-
Advanced search and replaces within the builder using a matcher.
- replace(StrBuilder) - Method in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Replaces all the occurrences of variables with their matching values from the resolver using the given source builder as a template.
- replace(StrBuilder, int, int) - Method in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Replaces all the occurrences of variables with their matching values from the resolver using the given source builder as a template.
- replace(StrMatcher, String, int, int, int) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Advanced search and replaces within the builder using a matcher.
- replace(TextStringBuilder) - Method in class org.apache.commons.text.StringSubstitutor
-
Replaces all the occurrences of variables with their matching values from the resolver using the given source builder as a template.
- replace(TextStringBuilder, int, int) - Method in class org.apache.commons.text.StringSubstitutor
-
Replaces all the occurrences of variables with their matching values from the resolver using the given source builder as a template.
- replaceAll(char, char) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Replaces the search character with the replace character throughout the builder.
- replaceAll(char, char) - Method in class org.apache.commons.text.TextStringBuilder
-
Replaces the search character with the replace character throughout the builder.
- replaceAll(String, String) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Replaces the search string with the replace string throughout the builder.
- replaceAll(String, String) - Method in class org.apache.commons.text.TextStringBuilder
-
Replaces the search string with the replace string throughout the builder.
- replaceAll(StringMatcher, String) - Method in class org.apache.commons.text.TextStringBuilder
-
Replaces all matches within the builder with the replace string.
- replaceAll(StrMatcher, String) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Replaces all matches within the builder with the replace string.
- replaceFirst(char, char) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Replaces the first instance of the search character with the replace character in the builder.
- replaceFirst(char, char) - Method in class org.apache.commons.text.TextStringBuilder
-
Replaces the first instance of the search character with the replace character in the builder.
- replaceFirst(String, String) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Replaces the first instance of the search string with the replace string.
- replaceFirst(String, String) - Method in class org.apache.commons.text.TextStringBuilder
-
Replaces the first instance of the search string with the replace string.
- replaceFirst(StringMatcher, String) - Method in class org.apache.commons.text.TextStringBuilder
-
Replaces the first match within the builder with the replace string.
- replaceFirst(StrMatcher, String) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Replaces the first match within the builder with the replace string.
- replaceIn(StringBuffer) - Method in class org.apache.commons.text.StringSubstitutor
-
Replaces all the occurrences of variables within the given source buffer with their matching values from the resolver.
- replaceIn(StringBuffer) - Method in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Replaces all the occurrences of variables within the given source buffer with their matching values from the resolver.
- replaceIn(StringBuffer, int, int) - Method in class org.apache.commons.text.StringSubstitutor
-
Replaces all the occurrences of variables within the given source buffer with their matching values from the resolver.
- replaceIn(StringBuffer, int, int) - Method in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Replaces all the occurrences of variables within the given source buffer with their matching values from the resolver.
- replaceIn(StringBuilder) - Method in class org.apache.commons.text.StringSubstitutor
-
Replaces all the occurrences of variables within the given source buffer with their matching values from the resolver.
- replaceIn(StringBuilder) - Method in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Replaces all the occurrences of variables within the given source buffer with their matching values from the resolver.
- replaceIn(StringBuilder, int, int) - Method in class org.apache.commons.text.StringSubstitutor
-
Replaces all the occurrences of variables within the given source builder with their matching values from the resolver.
- replaceIn(StringBuilder, int, int) - Method in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Replaces all the occurrences of variables within the given source builder with their matching values from the resolver.
- replaceIn(StrBuilder) - Method in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Replaces all the occurrences of variables within the given source builder with their matching values from the resolver.
- replaceIn(StrBuilder, int, int) - Method in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Replaces all the occurrences of variables within the given source builder with their matching values from the resolver.
- replaceIn(TextStringBuilder) - Method in class org.apache.commons.text.StringSubstitutor
-
Replaces all the occurrences of variables within the given source builder with their matching values from the resolver.
- replaceIn(TextStringBuilder, int, int) - Method in class org.apache.commons.text.StringSubstitutor
-
Replaces all the occurrences of variables within the given source builder with their matching values from the resolver.
- ReplacementsFinder<T> - Class in org.apache.commons.text.diff
-
This class handles sequences of replacements resulting from a comparison.
- ReplacementsFinder(ReplacementsHandler<T>) - Constructor for class org.apache.commons.text.diff.ReplacementsFinder
-
Simple constructor.
- ReplacementsHandler<T> - Interface in org.apache.commons.text.diff
-
This interface is devoted to handle synchronized replacement sequences.
- replaceSystemProperties(Object) - Static method in class org.apache.commons.text.StringSubstitutor
-
Replaces all the occurrences of variables in the given source object with their matching values from the system properties.
- replaceSystemProperties(Object) - Static method in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Replaces all the occurrences of variables in the given source object with their matching values from the system properties.
- reset() - Method in class org.apache.commons.text.StringTokenizer
-
Resets this tokenizer, forgetting all parsing and iteration already completed.
- reset() - Method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Resets this tokenizer, forgetting all parsing and iteration already completed.
- reset(char[]) - Method in class org.apache.commons.text.StringTokenizer
-
Reset this tokenizer, giving it a new input string to parse.
- reset(char[]) - Method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Reset this tokenizer, giving it a new input string to parse.
- reset(String) - Method in class org.apache.commons.text.StringTokenizer
-
Reset this tokenizer, giving it a new input string to parse.
- reset(String) - Method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Reset this tokenizer, giving it a new input string to parse.
- resolveVariable(String, StrBuilder, int, int) - Method in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Internal method that resolves the value of a variable.
- resolveVariable(String, TextStringBuilder, int, int) - Method in class org.apache.commons.text.StringSubstitutor
-
Internal method that resolves the value of a variable.
- RESOURCE_BUNDLE - org.apache.commons.text.lookup.DefaultStringLookup
-
The lookup for resource bundles using the key "resourceBundle".
- resourceBundleLookup(ResourceBundle) - Static method in class org.apache.commons.text.StrLookup
-
Deprecated.Returns a lookup which looks up values using a ResourceBundle.
- resourceBundleStringLookup() - Method in class org.apache.commons.text.lookup.StringLookupFactory
-
Returns the ResourceBundleStringLookup singleton instance.
- resourceBundleStringLookup(String) - Method in class org.apache.commons.text.lookup.StringLookupFactory
-
Returns a ResourceBundleStringLookup instance for the given bundle name.
- reverse() - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Reverses the string builder placing each character in the opposite index.
- reverse() - Method in class org.apache.commons.text.TextStringBuilder
-
Reverses the string builder placing each character in the opposite index.
- rightString(int) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Extracts the rightmost characters from the string builder without throwing an exception.
- rightString(int) - Method in class org.apache.commons.text.TextStringBuilder
-
Extracts the rightmost characters from the string builder without throwing an exception.
S
- SCRIPT - org.apache.commons.text.lookup.DefaultStringLookup
-
The lookup for scripts using the key "script".
- scriptStringLookup() - Method in class org.apache.commons.text.lookup.StringLookupFactory
-
Returns the ScriptStringLookup singleton instance.
- selectFrom(char...) - Method in class org.apache.commons.text.RandomStringGenerator.Builder
-
Limits the characters in the generated string to those who match at supplied list of Character.
- semiColonOptional - org.apache.commons.text.translate.NumericEntityUnescaper.OPTION
-
Do not require a semicolon.
- semiColonRequired - org.apache.commons.text.translate.NumericEntityUnescaper.OPTION
-
Require a semicolon.
- set(CharSequence) - Method in class org.apache.commons.text.TextStringBuilder
-
Clears and sets this builder to the given value.
- set(String) - Method in class org.apache.commons.text.StringTokenizer
-
Unsupported ListIterator operation.
- set(String) - Method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Unsupported ListIterator operation.
- setCharAt(int, char) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Sets the character at the specified index.
- setCharAt(int, char) - Method in class org.apache.commons.text.TextStringBuilder
-
Sets the character at the specified index.
- setDelimiterChar(char) - Method in class org.apache.commons.text.StringTokenizer
-
Sets the field delimiter character.
- setDelimiterChar(char) - Method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Sets the field delimiter character.
- setDelimiterMatcher(StringMatcher) - Method in class org.apache.commons.text.StringTokenizer
-
Sets the field delimiter matcher.
- setDelimiterMatcher(StrMatcher) - Method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Sets the field delimiter matcher.
- setDelimiterString(String) - Method in class org.apache.commons.text.StringTokenizer
-
Sets the field delimiter string.
- setDelimiterString(String) - Method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Sets the field delimiter string.
- setDisableSubstitutionInValues(boolean) - Method in class org.apache.commons.text.StringSubstitutor
-
Sets a flag whether substitution is done in variable values (recursive).
- setDisableSubstitutionInValues(boolean) - Method in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Sets a flag whether substitution is done in variable values (recursive).
- setEmptyTokenAsNull(boolean) - Method in class org.apache.commons.text.StringTokenizer
-
Sets whether the tokenizer should return empty tokens as null.
- setEmptyTokenAsNull(boolean) - Method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Sets whether the tokenizer should return empty tokens as null.
- setEnableSubstitutionInVariables(boolean) - Method in class org.apache.commons.text.StringSubstitutor
-
Sets a flag whether substitution is done in variable names.
- setEnableSubstitutionInVariables(boolean) - Method in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Sets a flag whether substitution is done in variable names.
- setEnableUndefinedVariableException(boolean) - Method in class org.apache.commons.text.StringSubstitutor
-
Sets a flag whether exception should be thrown if any variable is undefined.
- setEscapeChar(char) - Method in class org.apache.commons.text.StringSubstitutor
-
Sets the escape character.
- setEscapeChar(char) - Method in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Sets the escape character.
- setFormat(int, Format) - Method in class org.apache.commons.text.ExtendedMessageFormat
-
Throws UnsupportedOperationException - see class Javadoc for details.
- setFormatByArgumentIndex(int, Format) - Method in class org.apache.commons.text.ExtendedMessageFormat
-
Throws UnsupportedOperationException - see class Javadoc for details.
- setFormats(Format[]) - Method in class org.apache.commons.text.ExtendedMessageFormat
-
Throws UnsupportedOperationException - see class Javadoc for details.
- setFormatsByArgumentIndex(Format[]) - Method in class org.apache.commons.text.ExtendedMessageFormat
-
Throws UnsupportedOperationException - see class Javadoc for details.
- setIgnoredChar(char) - Method in class org.apache.commons.text.StringTokenizer
-
Set the character to ignore.
- setIgnoredChar(char) - Method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Set the character to ignore.
- setIgnoredMatcher(StringMatcher) - Method in class org.apache.commons.text.StringTokenizer
-
Set the matcher for characters to ignore.
- setIgnoredMatcher(StrMatcher) - Method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Set the matcher for characters to ignore.
- setIgnoreEmptyTokens(boolean) - Method in class org.apache.commons.text.StringTokenizer
-
Sets whether the tokenizer should ignore and not return empty tokens.
- setIgnoreEmptyTokens(boolean) - Method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Sets whether the tokenizer should ignore and not return empty tokens.
- setLength(int) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Updates the length of the builder by either dropping the last characters or adding filler of Unicode zero.
- setLength(int) - Method in class org.apache.commons.text.TextStringBuilder
-
Updates the length of the builder by either dropping the last characters or adding filler of Unicode zero.
- setNewLineText(String) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Sets the text to be appended when a new line is added.
- setNewLineText(String) - Method in class org.apache.commons.text.TextStringBuilder
-
Sets the text to be appended when a new line is added.
- setNullText(String) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Sets the text to be appended when null is added.
- setNullText(String) - Method in class org.apache.commons.text.TextStringBuilder
-
Sets the text to be appended when null is added.
- setPreserveEscapes(boolean) - Method in class org.apache.commons.text.StringSubstitutor
-
Sets a flag controlling whether escapes are preserved during substitution.
- setPreserveEscapes(boolean) - Method in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Sets a flag controlling whether escapes are preserved during substitution.
- setQuoteChar(char) - Method in class org.apache.commons.text.StringTokenizer
-
Sets the quote character to use.
- setQuoteChar(char) - Method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Sets the quote character to use.
- setQuoteMatcher(StringMatcher) - Method in class org.apache.commons.text.StringTokenizer
-
Set the quote matcher to use.
- setQuoteMatcher(StrMatcher) - Method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Set the quote matcher to use.
- setTrimmerMatcher(StringMatcher) - Method in class org.apache.commons.text.StringTokenizer
-
Sets the matcher for characters to trim.
- setTrimmerMatcher(StrMatcher) - Method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Sets the matcher for characters to trim.
- setValueDelimiter(char) - Method in class org.apache.commons.text.StringSubstitutor
-
Sets the variable default value delimiter to use.
- setValueDelimiter(char) - Method in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Sets the variable default value delimiter to use.
- setValueDelimiter(String) - Method in class org.apache.commons.text.StringSubstitutor
-
Sets the variable default value delimiter to use.
- setValueDelimiter(String) - Method in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Sets the variable default value delimiter to use.
- setValueDelimiterMatcher(StringMatcher) - Method in class org.apache.commons.text.StringSubstitutor
-
Sets the variable default value delimiter matcher to use.
- setValueDelimiterMatcher(StrMatcher) - Method in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Sets the variable default value delimiter matcher to use.
- setVariablePrefix(char) - Method in class org.apache.commons.text.StringSubstitutor
-
Sets the variable prefix to use.
- setVariablePrefix(char) - Method in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Sets the variable prefix to use.
- setVariablePrefix(String) - Method in class org.apache.commons.text.StringSubstitutor
-
Sets the variable prefix to use.
- setVariablePrefix(String) - Method in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Sets the variable prefix to use.
- setVariablePrefixMatcher(StringMatcher) - Method in class org.apache.commons.text.StringSubstitutor
-
Sets the variable prefix matcher currently in use.
- setVariablePrefixMatcher(StrMatcher) - Method in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Sets the variable prefix matcher currently in use.
- setVariableResolver(StringLookup) - Method in class org.apache.commons.text.StringSubstitutor
-
Sets the VariableResolver that is used to lookup variables.
- setVariableResolver(StrLookup<?>) - Method in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Sets the VariableResolver that is used to lookup variables.
- setVariableSuffix(char) - Method in class org.apache.commons.text.StringSubstitutor
-
Sets the variable suffix to use.
- setVariableSuffix(char) - Method in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Sets the variable suffix to use.
- setVariableSuffix(String) - Method in class org.apache.commons.text.StringSubstitutor
-
Sets the variable suffix to use.
- setVariableSuffix(String) - Method in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Sets the variable suffix to use.
- setVariableSuffixMatcher(StringMatcher) - Method in class org.apache.commons.text.StringSubstitutor
-
Sets the variable suffix matcher currently in use.
- setVariableSuffixMatcher(StrMatcher) - Method in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Sets the variable suffix matcher currently in use.
- SimilarityScore<R> - Interface in org.apache.commons.text.similarity
-
Interface for the concept of a string similarity score.
- SimilarityScoreFrom<R> - Class in org.apache.commons.text.similarity
-
This stores a
SimilarityScore
implementation and aCharSequence
"left" string. - SimilarityScoreFrom(SimilarityScore<R>, CharSequence) - Constructor for class org.apache.commons.text.similarity.SimilarityScoreFrom
-
This accepts the similarity score implementation and the "left" string.
- singleQuoteMatcher() - Method in class org.apache.commons.text.matcher.StringMatcherFactory
-
Returns a matcher which matches the single quote character.
- singleQuoteMatcher() - Static method in class org.apache.commons.text.StrMatcher
-
Deprecated.Returns a matcher which matches the single quote character.
- size() - Method in interface org.apache.commons.text.matcher.StringMatcher
-
Returns the size of the matching string.
- size() - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Gets the length of the string builder.
- size() - Method in class org.apache.commons.text.StringTokenizer
-
Gets the number of tokens found in the String.
- size() - Method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Gets the number of tokens found in the String.
- size() - Method in class org.apache.commons.text.TextStringBuilder
-
Gets the length of the string builder.
- spaceMatcher() - Method in class org.apache.commons.text.matcher.StringMatcherFactory
-
Returns a matcher which matches the space character.
- spaceMatcher() - Static method in class org.apache.commons.text.StrMatcher
-
Deprecated.Returns a matcher which matches the space character.
- splitMatcher() - Method in class org.apache.commons.text.matcher.StringMatcherFactory
-
Matches the same characters as StringTokenizer, namely space, tab, newline and form feed.
- splitMatcher() - Static method in class org.apache.commons.text.StrMatcher
-
Deprecated.Matches the same characters as StringTokenizer, namely space, tab, newline and form feed.
- startsWith(String) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Checks whether this builder starts with the specified string.
- startsWith(String) - Method in class org.apache.commons.text.TextStringBuilder
-
Checks whether this builder starts with the specified string.
- StrBuilder - Class in org.apache.commons.text
-
Deprecated.Deprecated as of 1.3, use
TextStringBuilder
instead. This class will be removed in 2.0. - StrBuilder() - Constructor for class org.apache.commons.text.StrBuilder
-
Deprecated.Constructor that creates an empty builder initial capacity 32 characters.
- StrBuilder(int) - Constructor for class org.apache.commons.text.StrBuilder
-
Deprecated.Constructor that creates an empty builder the specified initial capacity.
- StrBuilder(String) - Constructor for class org.apache.commons.text.StrBuilder
-
Deprecated.Constructor that creates a builder from the string, allocating 32 extra characters for growth.
- StringEscapeUtils - Class in org.apache.commons.text
-
Escapes and unescapes
String
s for Java, Java Script, HTML and XML. - StringEscapeUtils() - Constructor for class org.apache.commons.text.StringEscapeUtils
-
StringEscapeUtils
instances should NOT be constructed in standard programming. - StringEscapeUtils.Builder - Class in org.apache.commons.text
-
Convenience wrapper for
StringBuilder
providing escape methods. - StringLookup - Interface in org.apache.commons.text.lookup
-
Lookups a String key for a String value.
- StringLookupFactory - Class in org.apache.commons.text.lookup
-
Create instances of string lookups or access singleton string lookups implemented in this package.
- stringMatcher(char...) - Method in class org.apache.commons.text.matcher.StringMatcherFactory
-
Creates a matcher from a string.
- stringMatcher(String) - Method in class org.apache.commons.text.matcher.StringMatcherFactory
-
Creates a matcher from a string.
- stringMatcher(String) - Static method in class org.apache.commons.text.StrMatcher
-
Deprecated.Creates a matcher from a string.
- StringMatcher - Interface in org.apache.commons.text.matcher
-
Determines if a character array portion matches.
- StringMatcherFactory - Class in org.apache.commons.text.matcher
-
Provides access to matchers defined in this package.
- StringsComparator - Class in org.apache.commons.text.diff
-
It is guaranteed that the comparisons will always be done as
o1.equals(o2)
whereo1
belongs to the first sequence ando2
belongs to the second sequence. - StringsComparator(String, String) - Constructor for class org.apache.commons.text.diff.StringsComparator
-
Simple constructor.
- StringSubstitutor - Class in org.apache.commons.text
-
Substitutes variables within a string by values.
- StringSubstitutor() - Constructor for class org.apache.commons.text.StringSubstitutor
-
Creates a new instance with defaults for variable prefix and suffix and the escaping character.
- StringSubstitutor(Map<String, V>) - Constructor for class org.apache.commons.text.StringSubstitutor
-
Creates a new instance and initializes it.
- StringSubstitutor(Map<String, V>, String, String) - Constructor for class org.apache.commons.text.StringSubstitutor
-
Creates a new instance and initializes it.
- StringSubstitutor(Map<String, V>, String, String, char) - Constructor for class org.apache.commons.text.StringSubstitutor
-
Creates a new instance and initializes it.
- StringSubstitutor(Map<String, V>, String, String, char, String) - Constructor for class org.apache.commons.text.StringSubstitutor
-
Creates a new instance and initializes it.
- StringSubstitutor(StringLookup) - Constructor for class org.apache.commons.text.StringSubstitutor
-
Creates a new instance and initializes it.
- StringSubstitutor(StringLookup, String, String, char) - Constructor for class org.apache.commons.text.StringSubstitutor
-
Creates a new instance and initializes it.
- StringSubstitutor(StringLookup, String, String, char, String) - Constructor for class org.apache.commons.text.StringSubstitutor
-
Creates a new instance and initializes it.
- StringSubstitutor(StringLookup, StringMatcher, StringMatcher, char) - Constructor for class org.apache.commons.text.StringSubstitutor
-
Creates a new instance and initializes it.
- StringSubstitutor(StringLookup, StringMatcher, StringMatcher, char, StringMatcher) - Constructor for class org.apache.commons.text.StringSubstitutor
-
Creates a new instance and initializes it.
- StringSubstitutor(StringSubstitutor) - Constructor for class org.apache.commons.text.StringSubstitutor
-
Creates a new instance based on the given StringSubstitutor.
- StringSubstitutorReader - Class in org.apache.commons.text.io
- StringSubstitutorReader(Reader, StringSubstitutor) - Constructor for class org.apache.commons.text.io.StringSubstitutorReader
-
Constructs a new instance.
- StringTokenizer - Class in org.apache.commons.text
-
Tokenizes a string based on delimiters (separators) and supporting quoting and ignored character concepts.
- StringTokenizer() - Constructor for class org.apache.commons.text.StringTokenizer
-
Constructs a tokenizer splitting on space, tab, newline and form feed as per StringTokenizer, but with no text to tokenize.
- StringTokenizer(char[]) - Constructor for class org.apache.commons.text.StringTokenizer
-
Constructs a tokenizer splitting on space, tab, newline and form feed as per StringTokenizer.
- StringTokenizer(char[], char) - Constructor for class org.apache.commons.text.StringTokenizer
-
Constructs a tokenizer splitting on the specified character.
- StringTokenizer(char[], char, char) - Constructor for class org.apache.commons.text.StringTokenizer
-
Constructs a tokenizer splitting on the specified delimiter character and handling quotes using the specified quote character.
- StringTokenizer(char[], String) - Constructor for class org.apache.commons.text.StringTokenizer
-
Constructs a tokenizer splitting on the specified string.
- StringTokenizer(char[], StringMatcher) - Constructor for class org.apache.commons.text.StringTokenizer
-
Constructs a tokenizer splitting using the specified delimiter matcher.
- StringTokenizer(char[], StringMatcher, StringMatcher) - Constructor for class org.apache.commons.text.StringTokenizer
-
Constructs a tokenizer splitting using the specified delimiter matcher and handling quotes using the specified quote matcher.
- StringTokenizer(String) - Constructor for class org.apache.commons.text.StringTokenizer
-
Constructs a tokenizer splitting on space, tab, newline and form feed as per StringTokenizer.
- StringTokenizer(String, char) - Constructor for class org.apache.commons.text.StringTokenizer
-
Constructs a tokenizer splitting on the specified delimiter character.
- StringTokenizer(String, char, char) - Constructor for class org.apache.commons.text.StringTokenizer
-
Constructs a tokenizer splitting on the specified delimiter character and handling quotes using the specified quote character.
- StringTokenizer(String, String) - Constructor for class org.apache.commons.text.StringTokenizer
-
Constructs a tokenizer splitting on the specified delimiter string.
- StringTokenizer(String, StringMatcher) - Constructor for class org.apache.commons.text.StringTokenizer
-
Constructs a tokenizer splitting using the specified delimiter matcher.
- StringTokenizer(String, StringMatcher, StringMatcher) - Constructor for class org.apache.commons.text.StringTokenizer
-
Constructs a tokenizer splitting using the specified delimiter matcher and handling quotes using the specified quote matcher.
- StrLookup<V> - Class in org.apache.commons.text
-
Deprecated.Deprecated as of 1.3, use
StringLookupFactory
instead. This class will be removed in 2.0. - StrLookup() - Constructor for class org.apache.commons.text.StrLookup
-
Deprecated.Constructor.
- StrMatcher - Class in org.apache.commons.text
-
Deprecated.Deprecated as of 1.3, use
StringMatcherFactory
instead. This class will be removed in 2.0. - StrMatcher() - Constructor for class org.apache.commons.text.StrMatcher
-
Deprecated.Constructor.
- StrSubstitutor - Class in org.apache.commons.text
-
Deprecated.Deprecated as of 1.3, use
StringSubstitutor
instead. This class will be removed in 2.0. - StrSubstitutor() - Constructor for class org.apache.commons.text.StrSubstitutor
-
Deprecated.Creates a new instance with defaults for variable prefix and suffix and the escaping character.
- StrSubstitutor(Map<String, V>) - Constructor for class org.apache.commons.text.StrSubstitutor
-
Deprecated.Creates a new instance and initializes it.
- StrSubstitutor(Map<String, V>, String, String) - Constructor for class org.apache.commons.text.StrSubstitutor
-
Deprecated.Creates a new instance and initializes it.
- StrSubstitutor(Map<String, V>, String, String, char) - Constructor for class org.apache.commons.text.StrSubstitutor
-
Deprecated.Creates a new instance and initializes it.
- StrSubstitutor(Map<String, V>, String, String, char, String) - Constructor for class org.apache.commons.text.StrSubstitutor
-
Deprecated.Creates a new instance and initializes it.
- StrSubstitutor(StrLookup<?>) - Constructor for class org.apache.commons.text.StrSubstitutor
-
Deprecated.Creates a new instance and initializes it.
- StrSubstitutor(StrLookup<?>, String, String, char) - Constructor for class org.apache.commons.text.StrSubstitutor
-
Deprecated.Creates a new instance and initializes it.
- StrSubstitutor(StrLookup<?>, String, String, char, String) - Constructor for class org.apache.commons.text.StrSubstitutor
-
Deprecated.Creates a new instance and initializes it.
- StrSubstitutor(StrLookup<?>, StrMatcher, StrMatcher, char) - Constructor for class org.apache.commons.text.StrSubstitutor
-
Deprecated.Creates a new instance and initializes it.
- StrSubstitutor(StrLookup<?>, StrMatcher, StrMatcher, char, StrMatcher) - Constructor for class org.apache.commons.text.StrSubstitutor
-
Deprecated.Creates a new instance and initializes it.
- StrTokenizer - Class in org.apache.commons.text
-
Deprecated.Deprecated as of 1.3, use
StringTokenizer
instead. This class will be removed in 2.0. - StrTokenizer() - Constructor for class org.apache.commons.text.StrTokenizer
-
Deprecated.Constructs a tokenizer splitting on space, tab, newline and form feed as per StringTokenizer, but with no text to tokenize.
- StrTokenizer(char[]) - Constructor for class org.apache.commons.text.StrTokenizer
-
Deprecated.Constructs a tokenizer splitting on space, tab, newline and form feed as per StringTokenizer.
- StrTokenizer(char[], char) - Constructor for class org.apache.commons.text.StrTokenizer
-
Deprecated.Constructs a tokenizer splitting on the specified character.
- StrTokenizer(char[], char, char) - Constructor for class org.apache.commons.text.StrTokenizer
-
Deprecated.Constructs a tokenizer splitting on the specified delimiter character and handling quotes using the specified quote character.
- StrTokenizer(char[], String) - Constructor for class org.apache.commons.text.StrTokenizer
-
Deprecated.Constructs a tokenizer splitting on the specified string.
- StrTokenizer(char[], StrMatcher) - Constructor for class org.apache.commons.text.StrTokenizer
-
Deprecated.Constructs a tokenizer splitting using the specified delimiter matcher.
- StrTokenizer(char[], StrMatcher, StrMatcher) - Constructor for class org.apache.commons.text.StrTokenizer
-
Deprecated.Constructs a tokenizer splitting using the specified delimiter matcher and handling quotes using the specified quote matcher.
- StrTokenizer(String) - Constructor for class org.apache.commons.text.StrTokenizer
-
Deprecated.Constructs a tokenizer splitting on space, tab, newline and form feed as per StringTokenizer.
- StrTokenizer(String, char) - Constructor for class org.apache.commons.text.StrTokenizer
-
Deprecated.Constructs a tokenizer splitting on the specified delimiter character.
- StrTokenizer(String, char, char) - Constructor for class org.apache.commons.text.StrTokenizer
-
Deprecated.Constructs a tokenizer splitting on the specified delimiter character and handling quotes using the specified quote character.
- StrTokenizer(String, String) - Constructor for class org.apache.commons.text.StrTokenizer
-
Deprecated.Constructs a tokenizer splitting on the specified delimiter string.
- StrTokenizer(String, StrMatcher) - Constructor for class org.apache.commons.text.StrTokenizer
-
Deprecated.Constructs a tokenizer splitting using the specified delimiter matcher.
- StrTokenizer(String, StrMatcher, StrMatcher) - Constructor for class org.apache.commons.text.StrTokenizer
-
Deprecated.Constructs a tokenizer splitting using the specified delimiter matcher and handling quotes using the specified quote matcher.
- subSequence(int, int) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.
- subSequence(int, int) - Method in class org.apache.commons.text.TextStringBuilder
- substitute(StrBuilder, int, int) - Method in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Internal method that substitutes the variables.
- substitute(TextStringBuilder, int, int) - Method in class org.apache.commons.text.StringSubstitutor
-
Internal method that substitutes the variables.
- substring(int) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Extracts a portion of this string builder as a string.
- substring(int) - Method in class org.apache.commons.text.TextStringBuilder
-
Extracts a portion of this string builder as a string.
- substring(int, int) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Extracts a portion of this string builder as a string.
- substring(int, int) - Method in class org.apache.commons.text.TextStringBuilder
-
Extracts a portion of this string builder as a string.
- swapCase(String) - Static method in class org.apache.commons.text.WordUtils
-
Swaps the case of a String using a word based algorithm.
- SYSTEM_PROPERTIES - org.apache.commons.text.lookup.DefaultStringLookup
-
The lookup for system properties using the key "sys".
- systemPropertiesLookup() - Static method in class org.apache.commons.text.StrLookup
-
Deprecated.Returns a new lookup which uses a copy of the current
System properties
. - systemPropertyStringLookup() - Method in class org.apache.commons.text.lookup.StringLookupFactory
-
Returns the SystemPropertyStringLookup singleton instance where the lookup key is a system property name.
T
- tabMatcher() - Method in class org.apache.commons.text.matcher.StringMatcherFactory
-
Returns a matcher which matches the tab character.
- tabMatcher() - Static method in class org.apache.commons.text.StrMatcher
-
Deprecated.Returns a matcher which matches the tab character.
- test(int) - Method in interface org.apache.commons.text.CharacterPredicate
-
Tests the code point with this predicate.
- TextRandomProvider - Interface in org.apache.commons.text
-
TextRandomProvider implementations are used by
RandomStringGenerator
as a source of randomness. - TextStringBuilder - Class in org.apache.commons.text
-
Builds a string from constituent parts providing a more flexible and powerful API than StringBuffer.
- TextStringBuilder() - Constructor for class org.apache.commons.text.TextStringBuilder
-
Constructor that creates an empty builder initial capacity 32 characters.
- TextStringBuilder(int) - Constructor for class org.apache.commons.text.TextStringBuilder
-
Constructs an instance with the specified initial capacity.
- TextStringBuilder(CharSequence) - Constructor for class org.apache.commons.text.TextStringBuilder
-
Constructs an instance from a character sequence, allocating 32 extra characters for growth.
- TextStringBuilder(String) - Constructor for class org.apache.commons.text.TextStringBuilder
-
Constructs an instance from a string, allocating 32 extra characters for growth.
- toCamelCase(String, boolean, char...) - Static method in class org.apache.commons.text.CaseUtils
-
Converts all the delimiter separated words in a String into camelCase, that is each word is made up of a title case character and then a series of lowercase characters.
- toCharArray() - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Copies the builder's character array into a new character array.
- toCharArray() - Method in class org.apache.commons.text.TextStringBuilder
-
Copies the builder's character array into a new character array.
- toCharArray(int, int) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Copies part of the builder's character array into a new character array.
- toCharArray(int, int) - Method in class org.apache.commons.text.TextStringBuilder
-
Copies part of the builder's character array into a new character array.
- tokenize(char[], int, int) - Method in class org.apache.commons.text.StringTokenizer
-
Internal method to performs the tokenization.
- tokenize(char[], int, int) - Method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Internal method to performs the tokenization.
- toPattern() - Method in class org.apache.commons.text.ExtendedMessageFormat
- toString() - Method in class org.apache.commons.text.AlphabetConverter
- toString() - Method in class org.apache.commons.text.similarity.IntersectionResult
- toString() - Method in class org.apache.commons.text.similarity.LevenshteinResults
- toString() - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Gets a String version of the string builder, creating a new instance each time the method is called.
- toString() - Method in class org.apache.commons.text.StringEscapeUtils.Builder
-
Return the escaped string.
- toString() - Method in class org.apache.commons.text.StringTokenizer
-
Gets the String content that the tokenizer is parsing.
- toString() - Method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Gets the String content that the tokenizer is parsing.
- toString() - Method in class org.apache.commons.text.TextStringBuilder
-
Gets a String version of the string builder, creating a new instance each time the method is called.
- toString(Formattable) - Static method in class org.apache.commons.text.FormattableUtils
-
Get the default formatted representation of the specified
Formattable
. - toStringBuffer() - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Gets a StringBuffer version of the string builder, creating a new instance each time the method is called.
- toStringBuffer() - Method in class org.apache.commons.text.TextStringBuilder
-
Gets a StringBuffer version of the string builder, creating a new instance each time the method is called.
- toStringBuilder() - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Gets a StringBuilder version of the string builder, creating a new instance each time the method is called.
- toStringBuilder() - Method in class org.apache.commons.text.TextStringBuilder
-
Gets a StringBuilder version of the string builder, creating a new instance each time the method is called.
- toUtf16Escape(int) - Method in class org.apache.commons.text.translate.JavaUnicodeEscaper
-
Converts the given codepoint to a hex string of the form
"\\uXXXX\\uXXXX"
. - toUtf16Escape(int) - Method in class org.apache.commons.text.translate.UnicodeEscaper
-
Converts the given codepoint to a hex string of the form
"\\uXXXX"
. - translate(int, Writer) - Method in class org.apache.commons.text.translate.CodePointTranslator
-
Translate the specified codepoint into another.
- translate(int, Writer) - Method in class org.apache.commons.text.translate.NumericEntityEscaper
-
Translate the specified codepoint into another.
- translate(int, Writer) - Method in class org.apache.commons.text.translate.UnicodeEscaper
-
Translate the specified codepoint into another.
- translate(int, Writer) - Method in class org.apache.commons.text.translate.UnicodeUnpairedSurrogateRemover
-
Implementation of translate that throws out unpaired surrogates.
- translate(CharSequence) - Method in class org.apache.commons.text.translate.CharSequenceTranslator
-
Helper for non-Writer usage.
- translate(CharSequence, int, Writer) - Method in class org.apache.commons.text.translate.AggregateTranslator
-
The first translator to consume codepoints from the input is the 'winner'.
- translate(CharSequence, int, Writer) - Method in class org.apache.commons.text.translate.CharSequenceTranslator
-
Translate a set of codepoints, represented by an int index into a CharSequence, into another set of codepoints.
- translate(CharSequence, int, Writer) - Method in class org.apache.commons.text.translate.CodePointTranslator
-
Implementation of translate that maps onto the abstract translate(int, Writer) method.
- translate(CharSequence, int, Writer) - Method in class org.apache.commons.text.translate.LookupTranslator
-
Translate a set of codepoints, represented by an int index into a CharSequence, into another set of codepoints.
- translate(CharSequence, int, Writer) - Method in class org.apache.commons.text.translate.NumericEntityUnescaper
-
Translate a set of codepoints, represented by an int index into a CharSequence, into another set of codepoints.
- translate(CharSequence, int, Writer) - Method in class org.apache.commons.text.translate.OctalUnescaper
-
Translate a set of codepoints, represented by an int index into a CharSequence, into another set of codepoints.
- translate(CharSequence, int, Writer) - Method in class org.apache.commons.text.translate.UnicodeUnescaper
-
Translate a set of codepoints, represented by an int index into a CharSequence, into another set of codepoints.
- translate(CharSequence, Writer) - Method in class org.apache.commons.text.translate.CharSequenceTranslator
-
Translate an input onto a Writer.
- trim() - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Trims the builder by removing characters less than or equal to a space from the beginning and end.
- trim() - Method in class org.apache.commons.text.TextStringBuilder
-
Trims the builder by removing characters less than or equal to a space from the beginning and end.
- trimMatcher() - Method in class org.apache.commons.text.matcher.StringMatcherFactory
-
Matches the String trim() whitespace characters.
- trimMatcher() - Static method in class org.apache.commons.text.StrMatcher
-
Deprecated.Matches the String trim() whitespace characters.
U
- uncapitalize(String) - Static method in class org.apache.commons.text.WordUtils
-
Uncapitalizes all the whitespace separated words in a String.
- uncapitalize(String, char...) - Static method in class org.apache.commons.text.WordUtils
-
Uncapitalizes all the whitespace separated words in a String.
- UNESCAPE_CSV - Static variable in class org.apache.commons.text.StringEscapeUtils
-
Translator object for unescaping escaped Comma Separated Value entries.
- UNESCAPE_ECMASCRIPT - Static variable in class org.apache.commons.text.StringEscapeUtils
-
Translator object for unescaping escaped EcmaScript.
- UNESCAPE_HTML3 - Static variable in class org.apache.commons.text.StringEscapeUtils
-
Translator object for unescaping escaped HTML 3.0.
- UNESCAPE_HTML4 - Static variable in class org.apache.commons.text.StringEscapeUtils
-
Translator object for unescaping escaped HTML 4.0.
- UNESCAPE_JAVA - Static variable in class org.apache.commons.text.StringEscapeUtils
-
Translator object for unescaping escaped Java.
- UNESCAPE_JSON - Static variable in class org.apache.commons.text.StringEscapeUtils
-
Translator object for unescaping escaped Json.
- UNESCAPE_XML - Static variable in class org.apache.commons.text.StringEscapeUtils
-
Translator object for unescaping escaped XML.
- UNESCAPE_XSI - Static variable in class org.apache.commons.text.StringEscapeUtils
-
Translator object for unescaping escaped XSI Value entries.
- unescapeCsv(String) - Static method in class org.apache.commons.text.StringEscapeUtils
-
Returns a
String
value for an unescaped CSV column. - unescapeEcmaScript(String) - Static method in class org.apache.commons.text.StringEscapeUtils
-
Unescapes any EcmaScript literals found in the
String
. - unescapeHtml3(String) - Static method in class org.apache.commons.text.StringEscapeUtils
-
Unescapes a string containing entity escapes to a string containing the actual Unicode characters corresponding to the escapes.
- unescapeHtml4(String) - Static method in class org.apache.commons.text.StringEscapeUtils
-
Unescapes a string containing entity escapes to a string containing the actual Unicode characters corresponding to the escapes.
- unescapeJava(String) - Static method in class org.apache.commons.text.StringEscapeUtils
-
Unescapes any Java literals found in the
String
. - unescapeJson(String) - Static method in class org.apache.commons.text.StringEscapeUtils
-
Unescapes any Json literals found in the
String
. - unescapeXml(String) - Static method in class org.apache.commons.text.StringEscapeUtils
-
Unescapes a string containing XML entity escapes to a string containing the actual Unicode characters corresponding to the escapes.
- unescapeXSI(String) - Static method in class org.apache.commons.text.StringEscapeUtils
-
Unescapes the characters in a
String
using XSI rules. - UnicodeEscaper - Class in org.apache.commons.text.translate
-
Translates codepoints to their Unicode escaped value.
- UnicodeEscaper() - Constructor for class org.apache.commons.text.translate.UnicodeEscaper
-
Constructs a
UnicodeEscaper
for all characters. - UnicodeEscaper(int, int, boolean) - Constructor for class org.apache.commons.text.translate.UnicodeEscaper
-
Constructs a
UnicodeEscaper
for the specified range. - UnicodeUnescaper - Class in org.apache.commons.text.translate
-
Translates escaped Unicode values of the form \\u+\d\d\d\d back to Unicode.
- UnicodeUnescaper() - Constructor for class org.apache.commons.text.translate.UnicodeUnescaper
- UnicodeUnpairedSurrogateRemover - Class in org.apache.commons.text.translate
-
Helper subclass to CharSequenceTranslator to remove unpaired surrogates.
- UnicodeUnpairedSurrogateRemover() - Constructor for class org.apache.commons.text.translate.UnicodeUnpairedSurrogateRemover
- URL - org.apache.commons.text.lookup.DefaultStringLookup
-
The lookup for URLs using the key "url".
- URL_DECODER - org.apache.commons.text.lookup.DefaultStringLookup
-
The lookup for URL decoding using the key "urlDecoder".
- URL_ENCODER - org.apache.commons.text.lookup.DefaultStringLookup
-
The lookup for URL decoding using the key "urlEncoder".
- urlDecoderStringLookup() - Method in class org.apache.commons.text.lookup.StringLookupFactory
-
Returns the UrlDecoderStringLookup singleton instance.
- urlEncoderStringLookup() - Method in class org.apache.commons.text.lookup.StringLookupFactory
-
Returns the UrlDecoderStringLookup singleton instance.
- urlStringLookup() - Method in class org.apache.commons.text.lookup.StringLookupFactory
-
Returns the UrlStringLookup singleton instance.
- usingRandom(TextRandomProvider) - Method in class org.apache.commons.text.RandomStringGenerator.Builder
-
Overrides the default source of randomness.
V
- validateIndex(int) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Validates parameters defining a single index in the builder.
- validateIndex(int) - Method in class org.apache.commons.text.TextStringBuilder
-
Validates that an index is in the range
0 <= index <= size
. - validateRange(int, int) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Validates parameters defining a range of the builder.
- validateRange(int, int) - Method in class org.apache.commons.text.TextStringBuilder
-
Validates parameters defining a range of the builder.
- valueOf(String) - Static method in enum org.apache.commons.text.CharacterPredicates
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.commons.text.lookup.DefaultStringLookup
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.commons.text.translate.NumericEntityUnescaper.OPTION
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.apache.commons.text.CharacterPredicates
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.commons.text.lookup.DefaultStringLookup
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.commons.text.translate.NumericEntityUnescaper.OPTION
-
Returns an array containing the constants of this enum type, in the order they are declared.
- visit(CommandVisitor<T>) - Method in class org.apache.commons.text.diff.EditScript
-
Visit the script.
- visitDeleteCommand(T) - Method in interface org.apache.commons.text.diff.CommandVisitor
-
Method called when a delete command is encountered.
- visitDeleteCommand(T) - Method in class org.apache.commons.text.diff.ReplacementsFinder
-
Add an object to the pending deletions set.
- visitInsertCommand(T) - Method in interface org.apache.commons.text.diff.CommandVisitor
-
Method called when an insert command is encountered.
- visitInsertCommand(T) - Method in class org.apache.commons.text.diff.ReplacementsFinder
-
Add an object to the pending insertions set.
- visitKeepCommand(T) - Method in interface org.apache.commons.text.diff.CommandVisitor
-
Method called when a keep command is encountered.
- visitKeepCommand(T) - Method in class org.apache.commons.text.diff.ReplacementsFinder
-
Handle a synchronization object.
W
- with(CharSequenceTranslator...) - Method in class org.apache.commons.text.translate.CharSequenceTranslator
-
Helper method to create a merger of this translator with another set of translators.
- withinRange(char[]...) - Method in class org.apache.commons.text.RandomStringGenerator.Builder
-
Specifies the array of minimum and maximum char allowed in the generated string.
- withinRange(int, int) - Method in class org.apache.commons.text.RandomStringGenerator.Builder
-
Specifies the minimum and maximum code points allowed in the generated string.
- WordUtils - Class in org.apache.commons.text
-
Operations on Strings that contain words.
- WordUtils() - Constructor for class org.apache.commons.text.WordUtils
-
WordUtils
instances should NOT be constructed in standard programming. - wrap(char[]) - Static method in class org.apache.commons.text.TextStringBuilder
-
Constructs an instance from a reference to a character array.
- wrap(char[], int) - Static method in class org.apache.commons.text.TextStringBuilder
-
Constructs an instance from a reference to a character array.
- wrap(String, int) - Static method in class org.apache.commons.text.WordUtils
-
Wraps a single line of text, identifying words by
' '
. - wrap(String, int, String, boolean) - Static method in class org.apache.commons.text.WordUtils
-
Wraps a single line of text, identifying words by
' '
. - wrap(String, int, String, boolean, String) - Static method in class org.apache.commons.text.WordUtils
-
Wraps a single line of text, identifying words by
wrapOn
.
X
- XML - org.apache.commons.text.lookup.DefaultStringLookup
-
The lookup for URL decoding using the key "xml".
- xmlStringLookup() - Method in class org.apache.commons.text.lookup.StringLookupFactory
-
Returns the XmlStringLookup singleton instance.
All Classes|All Packages