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 - Variable in class org.apache.commons.text.translate.UnicodeEscaper
-
int value representing the highest codepoint boundary.
- 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). - AbstractStringLookup - Class in org.apache.commons.text.lookup
-
A default lookup for others to extend in this package.
- AbstractStringLookup() - Constructor for class org.apache.commons.text.lookup.AbstractStringLookup
- AbstractStringMatcher - Class in org.apache.commons.text.matcher
-
A matcher that determines if a character array portion matches.
- AbstractStringMatcher() - Constructor for class org.apache.commons.text.matcher.AbstractStringMatcher
-
Constructor.
- AbstractStringMatcher.AndStringMatcher - Class in org.apache.commons.text.matcher
-
Matches all of the given matchers in order.
- AbstractStringMatcher.CharArrayMatcher - Class in org.apache.commons.text.matcher
-
Matches out of a set of characters.
- AbstractStringMatcher.CharMatcher - Class in org.apache.commons.text.matcher
-
Matches a character.
- AbstractStringMatcher.CharSetMatcher - Class in org.apache.commons.text.matcher
-
Matches a set of characters.
- AbstractStringMatcher.NoneMatcher - Class in org.apache.commons.text.matcher
-
Matches nothing.
- AbstractStringMatcher.TrimMatcher - Class in org.apache.commons.text.matcher
-
Matches whitespace as per trim().
- 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.
- add(T) - Method in class org.apache.commons.text.similarity.IntersectionSimilarity.TinyBag
-
Adds a new element to the bag, incrementing its count in the underlying map.
- addDefaultStringLookups(Map<String, StringLookup>) - Method in class org.apache.commons.text.lookup.StringLookupFactory
-
Adds the
default lookups
. - addSingleEncoding(int, String, Collection<Integer>, Iterator<Integer>, Map<Integer, String>) - Method in class org.apache.commons.text.AlphabetConverter
-
Recursive method used when creating encoder/decoder.
- addToken(List<String>, String) - Method in class org.apache.commons.text.StringTokenizer
-
Adds a token to a list, paying attention to the parameters we've set.
- addToken(List<String>, String) - Method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Adds a token to a list, paying attention to the parameters we've set.
- 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.
- AlphabetConverter(Map<Integer, String>, Map<String, String>, int) - Constructor for class org.apache.commons.text.AlphabetConverter
-
Hidden constructor for alphabet converter.
- altered - Variable in class org.apache.commons.text.StringSubstitutor.Result
-
Whether the buffer is altered.
- andMatcher(StringMatcher...) - Method in class org.apache.commons.text.matcher.StringMatcherFactory
-
Creates a matcher that matches all of the given matchers in order.
- AndStringMatcher(StringMatcher...) - Constructor for class org.apache.commons.text.matcher.AbstractStringMatcher.AndStringMatcher
-
Constructs a new initialized instance.
- 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.
- appendFalse(int) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends
"false"
. - 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.
- appendQuotedString(String, ParsePosition, StringBuilder) - Method in class org.apache.commons.text.ExtendedMessageFormat
-
Consume a quoted string, adding it to
appendTo
if specified. - 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
. - appendTrue(int) - Method in class org.apache.commons.text.TextStringBuilder
-
Appends
"true"
. - 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.
- ARROW - Static variable in class org.apache.commons.text.AlphabetConverter
-
Arrow constant, used for converting the object into a string.
- 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
- BACKSLASH - Static variable in class org.apache.commons.text.StringEscapeUtils.XsiUnescaper
-
Escaped backslash constant.
- BagCount() - Constructor for class org.apache.commons.text.similarity.IntersectionSimilarity.BagCount
- 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 - Variable in class org.apache.commons.text.translate.UnicodeEscaper
-
int value representing the lowest codepoint boundary.
- 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 - Variable in class org.apache.commons.text.translate.NumericEntityEscaper
-
whether to escape between the boundaries or outside them.
- between - Variable in class org.apache.commons.text.translate.UnicodeEscaper
-
whether to escape between the boundaries or outside them.
- 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). - biFunction - Variable in class org.apache.commons.text.lookup.BiFunctionStringLookup
-
Function.
- 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.
- BiFunctionStringLookup<P,R> - Class in org.apache.commons.text.lookup
-
A function-based lookup where the request for a lookup is answered by applying that function with a key.
- BiFunctionStringLookup(BiFunction<String, P, R>) - Constructor for class org.apache.commons.text.lookup.BiFunctionStringLookup
-
Creates a new instance backed by a Function.
- BiStringLookup<U> - Interface in org.apache.commons.text.lookup
-
Lookups a String key for a String value.
- buffer - Variable in class org.apache.commons.text.io.StringSubstitutorReader
-
Our internal buffer.
- buffer - Variable in class org.apache.commons.text.StrBuilder
-
Deprecated.Internal data storage.
- buffer - Variable in class org.apache.commons.text.TextStringBuilder
-
Internal data storage.
- buffer(int) - Method in class org.apache.commons.text.io.StringSubstitutorReader
-
Buffers the requested number of characters if available.
- bufferOrDrainOnEos(int, char[], int, int) - Method in class org.apache.commons.text.io.StringSubstitutorReader
-
Reads a requested number of chars from the underlying reader into the buffer.
- 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
- Builder(CharSequenceTranslator) - Constructor for class org.apache.commons.text.StringEscapeUtils.Builder
-
Builder constructor.
- buildScript(int, int, int, int, EditScript<Character>) - Method in class org.apache.commons.text.diff.StringsComparator
-
Build an edit script.
- buildSnake(int, int, int, int) - Method in class org.apache.commons.text.diff.StringsComparator
-
Build a snake.
- bundleName - Variable in class org.apache.commons.text.lookup.ResourceBundleStringLookup
-
The name of the resource bundle from which to look something up.
C
- calculateJaccardSimilarity(CharSequence, CharSequence) - Method in class org.apache.commons.text.similarity.JaccardSimilarity
-
Calculates Jaccard Similarity of two character sequences passed as input.
- 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.
- CAPACITY - Static variable in class org.apache.commons.text.StrBuilder
-
Deprecated.The extra capacity for new builders.
- CAPACITY - Static variable in class org.apache.commons.text.TextStringBuilder
-
The extra capacity for new builders.
- 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. - ch - Variable in class org.apache.commons.text.matcher.AbstractStringMatcher.CharMatcher
-
The character to match.
- ch - Variable in class org.apache.commons.text.StrMatcher.CharMatcher
-
Deprecated.The character to match.
- characterList - Variable in class org.apache.commons.text.RandomStringGenerator.Builder
-
The source of provided characters.
- characterList - Variable in class org.apache.commons.text.RandomStringGenerator
-
The source of provided characters.
- 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
. - CharacterPredicates() - Constructor for enum org.apache.commons.text.CharacterPredicates
- CharArrayMatcher(char...) - Constructor for class org.apache.commons.text.matcher.AbstractStringMatcher.CharArrayMatcher
-
Constructs a matcher from a String.
- 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.
- CharMatcher(char) - Constructor for class org.apache.commons.text.matcher.AbstractStringMatcher.CharMatcher
-
Constructs a matcher for a single character.
- CharMatcher(char) - Constructor for class org.apache.commons.text.StrMatcher.CharMatcher
-
Deprecated.Constructor that creates a matcher that matches a single character.
- chars - Variable in class org.apache.commons.text.matcher.AbstractStringMatcher.CharArrayMatcher
-
The string to match, as a character array, implementation treats as immutable.
- chars - Variable in class org.apache.commons.text.matcher.AbstractStringMatcher.CharSetMatcher
-
The set of characters to match.
- chars - Variable in class org.apache.commons.text.StringTokenizer
-
The text to work on.
- chars - Variable in class org.apache.commons.text.StrMatcher.CharSetMatcher
-
Deprecated.The set of characters to match.
- chars - Variable in class org.apache.commons.text.StrMatcher.StringMatcher
-
Deprecated.The string to match, as a character array.
- chars - Variable in class org.apache.commons.text.StrTokenizer
-
Deprecated.The text to work on.
- 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.
- CharSetMatcher(char[]) - Constructor for class org.apache.commons.text.matcher.AbstractStringMatcher.CharSetMatcher
-
Constructs a matcher from a character array.
- CharSetMatcher(char[]) - Constructor for class org.apache.commons.text.StrMatcher.CharSetMatcher
-
Deprecated.Constructor that creates a matcher from a character array.
- checkCyclicSubstitution(String, List<String>) - Method in class org.apache.commons.text.StringSubstitutor
-
Checks if the specified variable is already in the stack (list) of variables.
- checkCyclicSubstitution(String, List<String>) - Method in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Checks if the specified variable is already in the stack (list) of variables.
- checkTokenized() - Method in class org.apache.commons.text.StringTokenizer
-
Checks if tokenization has been done, and if not then do it.
- checkTokenized() - Method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Checks if tokenization has been done, and if not then do it.
- clear() - Static method in class org.apache.commons.text.lookup.ConstantStringLookup
-
Clears the shared cache with the so far resolved constants.
- 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.
- cloneReset() - Method in class org.apache.commons.text.StringTokenizer
-
Creates a new instance of this Tokenizer.
- cloneReset() - Method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Creates a new instance of this Tokenizer.
- close() - Method in class org.apache.commons.text.StrBuilder.StrBuilderReader
-
Deprecated.
- close() - Method in class org.apache.commons.text.StrBuilder.StrBuilderWriter
-
Deprecated.
- close() - Method in class org.apache.commons.text.TextStringBuilder.TextStringBuilderReader
- close() - Method in class org.apache.commons.text.TextStringBuilder.TextStringBuilderWriter
- codePointToString(int) - Static method in class org.apache.commons.text.AlphabetConverter
-
Create new String that contains just the given code point.
- 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
- COMMA_MATCHER - Static variable in class org.apache.commons.text.matcher.StringMatcherFactory
-
Matches the comma character.
- COMMA_MATCHER - Static variable in class org.apache.commons.text.StrMatcher
-
Deprecated.Matches the comma character.
- 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.
- commands - Variable in class org.apache.commons.text.diff.EditScript
-
Container for the commands.
- 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".
- CONSTANT_CACHE - Static variable in class org.apache.commons.text.lookup.ConstantStringLookup
-
An internally used cache for already retrieved values.
- 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.
- ConstantStringLookup - Class in org.apache.commons.text.lookup
-
Looks up the value of a fully-qualified static final value.
- ConstantStringLookup() - Constructor for class org.apache.commons.text.lookup.ConstantStringLookup
- 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.
- containsElements(Collection<?>) - Method in class org.apache.commons.text.ExtendedMessageFormat
-
Learn whether the specified Collection contains non-null elements.
- convertCharsToIntegers(Character[]) - Static method in class org.apache.commons.text.AlphabetConverter
-
Convert characters to integers.
- converter - Variable in class org.apache.commons.text.similarity.IntersectionSimilarity
-
The converter used to create the elements from the characters.
- 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 - Variable in class org.apache.commons.text.similarity.CosineDistance
-
Cosine similarity.
- 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
- count - Variable in class org.apache.commons.text.similarity.IntersectionSimilarity.BagCount
-
The count.
- Counter - Class in org.apache.commons.text.similarity
-
Java implementation of Python's collections Counter module.
- Counter() - Constructor for class org.apache.commons.text.similarity.Counter
-
Hidden constructor.
- 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()
. - CSV_DELIMITER - Static variable in class org.apache.commons.text.translate.CsvTranslators
-
Comma character.
- CSV_ESCAPED_QUOTE_STR - Static variable in class org.apache.commons.text.translate.CsvTranslators
-
Escaped quote string.
- CSV_QUOTE - Static variable in class org.apache.commons.text.translate.CsvTranslators
-
Quote character.
- CSV_QUOTE_STR - Static variable in class org.apache.commons.text.translate.CsvTranslators
-
Quote character converted to string.
- CSV_SEARCH_CHARS - Static variable in class org.apache.commons.text.translate.CsvTranslators
-
CSV key characters in an array.
- CSV_TOKENIZER_PROTOTYPE - Static variable in class org.apache.commons.text.StringTokenizer
-
Comma separated values tokenizer internal variable.
- CSV_TOKENIZER_PROTOTYPE - Static variable in class org.apache.commons.text.StrTokenizer
-
Deprecated.Comma separated values tokenizer internal variable.
- 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() - Constructor for class org.apache.commons.text.translate.CsvTranslators
-
Hidden constructor.
- 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
. - DateStringLookup - Class in org.apache.commons.text.lookup
-
Formats the current date with the format given in the key in a format compatible with
SimpleDateFormat
. - DateStringLookup() - Constructor for class org.apache.commons.text.lookup.DateStringLookup
-
No need to build instances for now.
- decode(String) - Method in class org.apache.commons.text.AlphabetConverter
-
Decode a given string.
- decode(String, String) - Method in class org.apache.commons.text.lookup.UrlDecoderStringLookup
- 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_INSTANCE - Static variable in class org.apache.commons.text.similarity.LevenshteinDetailedDistance
-
Default instance.
- DEFAULT_INSTANCE - Static variable in class org.apache.commons.text.similarity.LevenshteinDistance
-
Default instance.
- 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 - Variable in class org.apache.commons.text.lookup.InterpolatorStringLookup
-
The default string lookup.
- DefaultStringLookup - Enum in org.apache.commons.text.lookup
-
An enumeration defining
StringLookup
objects available throughStringLookupFactory
. - DefaultStringLookup(String, StringLookup) - Constructor for enum org.apache.commons.text.lookup.DefaultStringLookup
-
Creates a new instance of
DefaultStringLookup
and sets the key and the associated lookup instance. - 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.
- deleteCount - Variable in class org.apache.commons.text.similarity.LevenshteinResults
-
Delete character count.
- 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.
- deleteImpl(int, int, int) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Internal method to delete a range without validation.
- deleteImpl(int, int, int) - Method in class org.apache.commons.text.TextStringBuilder
-
Internal method to delete a range without validation.
- delimMatcher - Variable in class org.apache.commons.text.StringTokenizer
-
The delimiter matcher.
- delimMatcher - Variable in class org.apache.commons.text.StrTokenizer
-
Deprecated.The delimiter matcher.
- diag - Variable in class org.apache.commons.text.diff.StringsComparator.Snake
-
Diagonal number.
- DIGITS - org.apache.commons.text.CharacterPredicates
-
Tests code points against
Character.isDigit(int)
. - disableSubstitutionInValues - Variable in class org.apache.commons.text.StringSubstitutor
-
The flag whether substitution in variable values is disabled.
- disableSubstitutionInValues - Variable in class org.apache.commons.text.StrSubstitutor
-
Deprecated.The flag whether substitution in variable values is disabled.
- distance - Variable in class org.apache.commons.text.similarity.LevenshteinResults
-
Edit distance.
- 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
. - DnsStringLookup - Class in org.apache.commons.text.lookup
-
Looks up keys related to DNS entries like host name, canonical host name, host address.
- DnsStringLookup() - Constructor for class org.apache.commons.text.lookup.DnsStringLookup
-
No need to build instances for now.
- dot(Map<CharSequence, Integer>, Map<CharSequence, Integer>, Set<CharSequence>) - Method in class org.apache.commons.text.similarity.CosineSimilarity
-
Computes the dot product of two vectors.
- DOUBLE_QUOTE_MATCHER - Static variable in class org.apache.commons.text.matcher.StringMatcherFactory
-
Matches the double quote character.
- DOUBLE_QUOTE_MATCHER - Static variable in class org.apache.commons.text.StrMatcher
-
Deprecated.Matches the double quote character.
- 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.
- drain(char[], int, int) - Method in class org.apache.commons.text.io.StringSubstitutorReader
-
Drains characters from our buffer to the given
target
. - 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.
- drainOnEos(int, char[], int, int) - Method in class org.apache.commons.text.io.StringSubstitutorReader
-
Drains from the buffer to the target only if we are at EOS per the input count.
- DUMMY_PATTERN - Static variable in class org.apache.commons.text.ExtendedMessageFormat
-
The empty string.
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 - Variable in class org.apache.commons.text.similarity.EditDistanceFrom
-
Edit distance.
- 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.
- emptyAsNull - Variable in class org.apache.commons.text.StringTokenizer
-
Whether to return empty tokens as null.
- emptyAsNull - Variable in class org.apache.commons.text.StrTokenizer
-
Deprecated.Whether to return empty tokens as null.
- enableSubstitutionInVariables - Variable in class org.apache.commons.text.StringSubstitutor
-
The flag whether substitution in variable names is enabled.
- enableSubstitutionInVariables - Variable in class org.apache.commons.text.StrSubstitutor
-
Deprecated.The flag whether substitution in variable names is enabled.
- enableUndefinedVariableException - Variable in class org.apache.commons.text.StringSubstitutor
-
The flag whether exception should be thrown on undefined variable.
- encode(String) - Method in class org.apache.commons.text.AlphabetConverter
-
Encode a given string.
- encode(String, String) - Method in class org.apache.commons.text.lookup.UrlEncoderStringLookup
- encodedLetterLength - Variable in class org.apache.commons.text.AlphabetConverter
-
Length of the encoded letter.
- encodedToOriginal - Variable in class org.apache.commons.text.AlphabetConverter
-
Encoding alphabet.
- end - Variable in class org.apache.commons.text.diff.StringsComparator.Snake
-
End index.
- END_FE - Static variable in class org.apache.commons.text.ExtendedMessageFormat
-
A right side squiggly brace.
- 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
- entrySet() - Method in class org.apache.commons.text.similarity.IntersectionSimilarity.TinyBag
-
Returns a Set view of the mappings contained in this bag.
- 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.
- eos - Variable in class org.apache.commons.text.io.StringSubstitutorReader
-
End-of-Stream flag.
- EOS - Static variable in class org.apache.commons.text.io.StringSubstitutorReader
-
The end-of-stream character marker.
- EOS - Static variable in class org.apache.commons.text.TextStringBuilder
-
End-Of-Stream.
- 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.
- escapeChar - Variable in class org.apache.commons.text.StringSubstitutor
-
Stores the escape character.
- escapeChar - Variable in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Stores the escape character.
- 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
- FALSE_STRING_SIZE - Static variable in class org.apache.commons.text.TextStringBuilder
-
The size of the string
"false"
. - fetchClass(String) - Method in class org.apache.commons.text.lookup.ConstantStringLookup
-
Loads the class with the specified name.
- FIELD_SEPARATOR - Static variable in class org.apache.commons.text.lookup.ConstantStringLookup
-
Constant for the field separator.
- 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.
- FileStringLookup - Class in org.apache.commons.text.lookup
-
Looks up keys from an XML document.
- FileStringLookup() - Constructor for class org.apache.commons.text.lookup.FileStringLookup
-
No need to build instances for now.
- 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.
- findDetailedResults(CharSequence, CharSequence, int[][], boolean) - Static method in class org.apache.commons.text.similarity.LevenshteinDetailedDistance
-
Finds count for each of the three [insert, delete, substitute] operations needed.
- flush() - Method in class org.apache.commons.text.StrBuilder.StrBuilderWriter
-
Deprecated.
- flush() - Method in class org.apache.commons.text.TextStringBuilder.TextStringBuilderWriter
- format(Object, StringBuffer, FieldPosition) - Method in class org.apache.commons.text.CompositeFormat
-
Uses the formatter Format instance.
- format(String, Object...) - Static method in class org.apache.commons.text.lookup.IllegalArgumentExceptions
-
Creates an
IllegalArgumentException
with a message formatted withString.format(String,Object...)
. - format(Throwable, String, Object...) - Static method in class org.apache.commons.text.lookup.IllegalArgumentExceptions
-
Creates an
IllegalArgumentException
with a message formatted withString.format(String,Object...)
. - formatDate(long, String) - Method in class org.apache.commons.text.lookup.DateStringLookup
-
Formats the given
date
long with the givenformat
. - 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. - formatter - Variable in class org.apache.commons.text.CompositeFormat
-
The formatter to use.
- function - Variable in class org.apache.commons.text.lookup.FunctionStringLookup
-
Function.
- 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.
- FunctionStringLookup<V> - Class in org.apache.commons.text.lookup
-
A function-based lookup where the request for a lookup is answered by applying that function with a key.
- FunctionStringLookup(Function<String, V>) - Constructor for class org.apache.commons.text.lookup.FunctionStringLookup
-
Creates a new instance backed by a Function.
- 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.
- generateDelimiterSet(char[]) - Static method in class org.apache.commons.text.CaseUtils
-
Converts an array of delimiters to a hash set of code points.
- generateDelimiterSet(char[]) - Static method in class org.apache.commons.text.WordUtils
-
Converts an array of delimiters to a hash set of code points.
- generateRandomNumber(int, int) - Method in class org.apache.commons.text.RandomStringGenerator
-
Generates a random number within a range, using a
ThreadLocalRandom
instance or the user-supplied source of randomness. - generateRandomNumber(List<Character>) - Method in class org.apache.commons.text.RandomStringGenerator
-
Generates a random number within a range, using a
ThreadLocalRandom
instance or the user-supplied source of randomness. - getBuffer() - Method in class org.apache.commons.text.TextStringBuilder
-
Gets a direct reference to internal storage, not for public consumption.
- getBundle(String) - Method in class org.apache.commons.text.lookup.ResourceBundleStringLookup
- 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.
- getClassName() - Method in class org.apache.commons.text.translate.SinglePassTranslator
-
A utility method to be used in the
SinglePassTranslator.translate(CharSequence, int, Writer)
method. - getContent() - Method in class org.apache.commons.text.StrBuilder.StrBuilderTokenizer
-
Deprecated.Gets the String content that the tokenizer is parsing.
- 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.
- getContent() - Method in class org.apache.commons.text.TextStringBuilder.TextStringBuilderTokenizer
-
Gets the String content that the tokenizer is parsing.
- getCount(Object) - Method in class org.apache.commons.text.similarity.IntersectionSimilarity.TinyBag
-
Returns the number of occurrence of the given element in this bag by looking up its count in the underlying map.
- getCSVClone() - Static method in class org.apache.commons.text.StringTokenizer
-
Returns a clone of
CSV_TOKENIZER_PROTOTYPE
. - getCSVClone() - Static method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Returns a clone of
CSV_TOKENIZER_PROTOTYPE
. - 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.
- getDiag() - Method in class org.apache.commons.text.diff.StringsComparator.Snake
-
Get the diagonal number of the snake.
- 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.
- getEnd() - Method in class org.apache.commons.text.diff.StringsComparator.Snake
-
Get the end index of the snake.
- 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) - Method in class org.apache.commons.text.ExtendedMessageFormat
-
Get a custom format from a format description.
- 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.
- getHardware() - Method in class org.apache.commons.text.lookup.JavaPlatformStringLookup
-
Accessible through the Lookup key
hardware
. - 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.
- getIntersection(Map<CharSequence, Integer>, Map<CharSequence, Integer>) - Method in class org.apache.commons.text.similarity.CosineSimilarity
-
Returns a set with strings common to the two given maps.
- getIntersection(Set<T>, Set<T>) - Static method in class org.apache.commons.text.similarity.IntersectionSimilarity
-
Compute the intersection between two sets.
- getIntersection(IntersectionSimilarity.TinyBag, IntersectionSimilarity.TinyBag) - Method in class org.apache.commons.text.similarity.IntersectionSimilarity
-
Compute the intersection between two bags.
- 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.lookup.JavaPlatformStringLookup
-
Accessible through the Lookup key
locale
. - getLocale() - Method in class org.apache.commons.text.similarity.FuzzyScore
-
Gets the locale.
- getMiddleSnake(int, int, int, int) - Method in class org.apache.commons.text.diff.StringsComparator
-
Get the middle snake corresponding to two subsequences of the main sequences.
- 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.
- getOperatingSystem() - Method in class org.apache.commons.text.lookup.JavaPlatformStringLookup
-
Accessible through the Lookup key
os
. - 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.
- getQuotedString(String, ParsePosition) - Method in class org.apache.commons.text.ExtendedMessageFormat
-
Consume quoted string only.
- 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.
- getRuntime() - Method in class org.apache.commons.text.lookup.JavaPlatformStringLookup
-
Accessible through the Lookup key
runtime
. - 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.
- getStart() - Method in class org.apache.commons.text.diff.StringsComparator.Snake
-
Get the start index of the snake.
- getString(String, String) - Method in class org.apache.commons.text.lookup.ResourceBundleStringLookup
- 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.
- getStringLookupMap() - Method in class org.apache.commons.text.lookup.InterpolatorStringLookup
-
Gets the lookup map.
- getSubstituteCount() - Method in class org.apache.commons.text.similarity.LevenshteinResults
-
Get the number of character substitution needed to change one character sequence into another.
- getSystemProperty(String) - Method in class org.apache.commons.text.lookup.JavaPlatformStringLookup
-
Gets the given system property.
- getSystemProperty(String, String) - Method in class org.apache.commons.text.lookup.JavaPlatformStringLookup
-
Gets the given system property.
- 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.
- getTSVClone() - Static method in class org.apache.commons.text.StringTokenizer
-
Returns a clone of
TSV_TOKENIZER_PROTOTYPE
. - getTSVClone() - Static method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Returns a clone of
TSV_TOKENIZER_PROTOTYPE
. - 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.
- getVirtualMachine() - Method in class org.apache.commons.text.lookup.JavaPlatformStringLookup
-
Accessible through the Lookup key
vm
.
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
- handler - Variable in class org.apache.commons.text.diff.ReplacementsFinder
-
Handler to call when synchronized sequences are found.
- handleReplacement(int, List<T>, List<T>) - Method in interface org.apache.commons.text.diff.ReplacementsHandler
-
Handle two synchronized sequences.
- HASH_SEED - Static variable in class org.apache.commons.text.ExtendedMessageFormat
-
Our initial seed value for calculating hashes.
- 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. - HEX_DIGITS - Static variable in class org.apache.commons.text.translate.CharSequenceTranslator
-
Array containing the hexadecimal alphabet.
- 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
- ignoredMatcher - Variable in class org.apache.commons.text.StringTokenizer
-
The ignored matcher.
- ignoredMatcher - Variable in class org.apache.commons.text.StrTokenizer
-
Deprecated.The ignored matcher.
- ignoreEmptyTokens - Variable in class org.apache.commons.text.StringTokenizer
-
Whether to ignore empty tokens.
- ignoreEmptyTokens - Variable in class org.apache.commons.text.StrTokenizer
-
Deprecated.Whether to ignore empty tokens.
- IllegalArgumentExceptions - Class in org.apache.commons.text.lookup
-
Shorthands creating
IllegalArgumentException
instances using formatted strings. - IllegalArgumentExceptions() - Constructor for class org.apache.commons.text.lookup.IllegalArgumentExceptions
-
No need to build instances.
- inclusivePredicates - Variable in class org.apache.commons.text.RandomStringGenerator.Builder
-
Filters for code points.
- inclusivePredicates - Variable in class org.apache.commons.text.RandomStringGenerator
-
Filters for code points.
- 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.
- InetAddressKeys - Class in org.apache.commons.text.lookup
-
Constants for referring to
InetAddress
APIs. - InetAddressKeys() - Constructor for class org.apache.commons.text.lookup.InetAddressKeys
- 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.
- insertCount - Variable in class org.apache.commons.text.similarity.LevenshteinResults
-
Insert character count.
- insertFormats(String, ArrayList<String>) - Method in class org.apache.commons.text.ExtendedMessageFormat
-
Insert formats back into the pattern for toPattern() support.
- INSTANCE - Static variable in class org.apache.commons.text.lookup.ConstantStringLookup
-
Defines the singleton for this class.
- INSTANCE - Static variable in class org.apache.commons.text.lookup.DateStringLookup
-
Defines the singleton for this class.
- INSTANCE - Static variable in class org.apache.commons.text.lookup.DnsStringLookup
-
Defines the singleton for this class.
- INSTANCE - Static variable in class org.apache.commons.text.lookup.FileStringLookup
-
Defines the singleton for this class.
- INSTANCE - Static variable in class org.apache.commons.text.lookup.InterpolatorStringLookup
-
Defines the singleton for this class.
- INSTANCE - Static variable in class org.apache.commons.text.lookup.JavaPlatformStringLookup
-
Defines the singleton for this class.
- INSTANCE - Static variable in class org.apache.commons.text.lookup.LocalHostStringLookup
-
Defines the singleton for this class.
- INSTANCE - Static variable in class org.apache.commons.text.lookup.PropertiesStringLookup
-
Defines the singleton for this class.
- INSTANCE - Static variable in class org.apache.commons.text.lookup.ResourceBundleStringLookup
-
Defines the singleton for this class.
- INSTANCE - Static variable in class org.apache.commons.text.lookup.ScriptStringLookup
-
Defines the singleton for this class.
- 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.lookup.UrlDecoderStringLookup
-
Defines the singleton for this class.
- INSTANCE - Static variable in class org.apache.commons.text.lookup.UrlEncoderStringLookup
-
Defines the singleton for this class.
- INSTANCE - Static variable in class org.apache.commons.text.lookup.UrlStringLookup
-
Defines the singleton for this class.
- INSTANCE - Static variable in class org.apache.commons.text.lookup.XmlStringLookup
-
Defines the singleton for this class.
- INSTANCE - Static variable in class org.apache.commons.text.matcher.StringMatcherFactory
-
Defines the singleton for this class.
- INSTANCE_BASE64_DECODER - Static variable in class org.apache.commons.text.lookup.StringLookupFactory
-
Decodes Base64 Strings.
- INSTANCE_BASE64_ENCODER - Static variable in class org.apache.commons.text.lookup.StringLookupFactory
-
Encodes Base64 Strings.
- INSTANCE_ENVIRONMENT_VARIABLES - Static variable in class org.apache.commons.text.lookup.StringLookupFactory
-
Looks up keys from environment variables.
- INSTANCE_NULL - Static variable in class org.apache.commons.text.lookup.StringLookupFactory
-
Defines the FunctionStringLookup singleton that always returns null.
- INSTANCE_SYSTEM_PROPERTIES - Static variable in class org.apache.commons.text.lookup.StringLookupFactory
-
Defines the FunctionStringLookup singleton for looking up system properties.
- 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
. - InterpolatorStringLookup - Class in org.apache.commons.text.lookup
-
Proxies other
StringLookup
s using a keys within ${} markers using the format "${StringLookup:Key}". - InterpolatorStringLookup() - Constructor for class org.apache.commons.text.lookup.InterpolatorStringLookup
-
Creates an instance using only lookups that work without initial properties and are stateless.
- InterpolatorStringLookup(Map<String, StringLookup>, StringLookup, boolean) - Constructor for class org.apache.commons.text.lookup.InterpolatorStringLookup
-
Creates a fully customized instance.
- InterpolatorStringLookup(Map<String, V>) - Constructor for class org.apache.commons.text.lookup.InterpolatorStringLookup
-
Creates an instance using only lookups that work without initial properties and are stateless.
- InterpolatorStringLookup(StringLookup) - Constructor for class org.apache.commons.text.lookup.InterpolatorStringLookup
-
Creates an instance with the given lookup.
- intersection - Variable in class org.apache.commons.text.similarity.IntersectionResult
-
The size of the intersection between set A and B.
- 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.
- IntersectionSimilarity.BagCount - Class in org.apache.commons.text.similarity
-
Mutable counter class for storing the count of elements.
- IntersectionSimilarity.TinyBag - Class in org.apache.commons.text.similarity
-
A minimal implementation of a Bag that can store elements and a count.
- invert(Map<CharSequence, CharSequence>) - Static method in class org.apache.commons.text.translate.EntityArrays
-
Used to invert an escape Map into an unescape Map.
- isBufferMatchAt(StringMatcher, int) - Method in class org.apache.commons.text.io.StringSubstitutorReader
-
Tests if our buffer matches the given string matcher at the given position in the buffer.
- 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.
- isDraining() - Method in class org.apache.commons.text.io.StringSubstitutorReader
-
Tests if we are draining.
- 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 class org.apache.commons.text.matcher.AbstractStringMatcher.AndStringMatcher
- isMatch(char[], int, int, int) - Method in class org.apache.commons.text.matcher.AbstractStringMatcher.CharArrayMatcher
-
Returns the number of matching characters,
0
if there is no match. - isMatch(char[], int, int, int) - Method in class org.apache.commons.text.matcher.AbstractStringMatcher.CharMatcher
-
Returns
1
if there is a match, or0
if there is no match. - isMatch(char[], int, int, int) - Method in class org.apache.commons.text.matcher.AbstractStringMatcher.CharSetMatcher
-
Returns
1
if there is a match, or0
if there is no match. - isMatch(char[], int, int, int) - Method in class org.apache.commons.text.matcher.AbstractStringMatcher.NoneMatcher
-
Always returns
0
. - isMatch(char[], int, int, int) - Method in class org.apache.commons.text.matcher.AbstractStringMatcher.TrimMatcher
-
Returns
1
if there is a match, or0
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.CharMatcher
-
Deprecated.Returns
1
if there is a match, or0
if there is no match. - isMatch(char[], int, int, int) - Method in class org.apache.commons.text.StrMatcher.CharSetMatcher
-
Deprecated.Returns
1
if there is a match, or0
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(char[], int, int, int) - Method in class org.apache.commons.text.StrMatcher.NoMatcher
-
Deprecated.Always returns
0
. - isMatch(char[], int, int, int) - Method in class org.apache.commons.text.StrMatcher.StringMatcher
-
Deprecated.Returns the number of matching characters, or zero if there is no match.
- isMatch(char[], int, int, int) - Method in class org.apache.commons.text.StrMatcher.TrimMatcher
-
Deprecated.Returns whether or not the given character matches.
- 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 class org.apache.commons.text.matcher.AbstractStringMatcher.AndStringMatcher
- isMatch(CharSequence, int, int, int) - Method in class org.apache.commons.text.matcher.AbstractStringMatcher.CharArrayMatcher
-
Returns the number of matching characters,
0
if there is no match. - isMatch(CharSequence, int, int, int) - Method in class org.apache.commons.text.matcher.AbstractStringMatcher.CharMatcher
-
Returns
1
if there is a match, or0
if there is no match. - isMatch(CharSequence, int, int, int) - Method in class org.apache.commons.text.matcher.AbstractStringMatcher.CharSetMatcher
-
Returns
1
if there is a match, or0
if there is no match. - isMatch(CharSequence, int, int, int) - Method in class org.apache.commons.text.matcher.AbstractStringMatcher.NoneMatcher
-
Always returns
0
. - isMatch(CharSequence, int, int, int) - Method in class org.apache.commons.text.matcher.AbstractStringMatcher.TrimMatcher
-
Returns
1
if there is a match, or0
if there is 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. - isOctalDigit(char) - Method in class org.apache.commons.text.translate.OctalUnescaper
-
Checks if the given char is an octal digit.
- 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.
- isQuote(char[], int, int, int, int) - Method in class org.apache.commons.text.StringTokenizer
-
Checks if the characters at the index specified match the quote already matched in readNextToken().
- isQuote(char[], int, int, int, int) - Method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Checks if the characters at the index specified match the quote already matched in readNextToken().
- 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.
- isZeroToThree(char) - Method in class org.apache.commons.text.translate.OctalUnescaper
-
Checks if the given char is the character representation of one of the digit from 0 to 3.
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 - Variable in class org.apache.commons.text.similarity.JaccardDistance
-
We normalize the jaccardSimilarity for the purpose of computing the distance.
- 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.
- JavaPlatformStringLookup - Class in org.apache.commons.text.lookup
-
Looks up keys related to Java: Java version, JRE version, VM version, and so on.
- JavaPlatformStringLookup() - Constructor for class org.apache.commons.text.lookup.JavaPlatformStringLookup
-
No need to build instances for now.
- 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 - Variable in enum org.apache.commons.text.lookup.DefaultStringLookup
-
The prefix under which the associated lookup object is registered.
- KEY_ADDRESS - Static variable in class org.apache.commons.text.lookup.InetAddressKeys
-
Constants for referring to
InetAddress.getAddress()
. - 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_CANONICAL_NAME - Static variable in class org.apache.commons.text.lookup.InetAddressKeys
-
Constants for referring to
InetAddress.getCanonicalHostName()
. - 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_HARDWARE - Static variable in class org.apache.commons.text.lookup.JavaPlatformStringLookup
-
hardware
key for drivingJavaPlatformStringLookup.lookup(String)
. - KEY_JAVA - Static variable in class org.apache.commons.text.lookup.StringLookupFactory
-
Default lookup key for interpolation "java".
- KEY_LOCALE - Static variable in class org.apache.commons.text.lookup.JavaPlatformStringLookup
-
locale
key for drivingJavaPlatformStringLookup.lookup(String)
. - KEY_LOCALHOST - Static variable in class org.apache.commons.text.lookup.StringLookupFactory
-
Default lookup key for interpolation "localhost".
- KEY_NAME - Static variable in class org.apache.commons.text.lookup.InetAddressKeys
-
Constants for referring to
InetAddress.getHostName()
. - KEY_OS - Static variable in class org.apache.commons.text.lookup.JavaPlatformStringLookup
-
os
key for drivingJavaPlatformStringLookup.lookup(String)
. - 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_RUNTIME - Static variable in class org.apache.commons.text.lookup.JavaPlatformStringLookup
-
runtime
key for drivingJavaPlatformStringLookup.lookup(String)
. - 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_VERSION - Static variable in class org.apache.commons.text.lookup.JavaPlatformStringLookup
-
version
key for drivingJavaPlatformStringLookup.lookup(String)
. - KEY_VM - Static variable in class org.apache.commons.text.lookup.JavaPlatformStringLookup
-
vm
key for drivingJavaPlatformStringLookup.lookup(String)
. - 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.
- lcsLength - Variable in class org.apache.commons.text.diff.EditScript
-
Length of the longest common subsequence.
- left - Variable in class org.apache.commons.text.diff.StringsComparator
-
First character sequence.
- left - Variable in class org.apache.commons.text.similarity.EditDistanceFrom
-
Left parameter used in distance function.
- left - Variable in class org.apache.commons.text.similarity.SimilarityScoreFrom
-
Left parameter used in distance function.
- 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.
- lengthChange - Variable in class org.apache.commons.text.StringSubstitutor.Result
-
The length of change.
- 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.
- limitedCompare(CharSequence, CharSequence, int) - Static method in class org.apache.commons.text.similarity.LevenshteinDetailedDistance
-
Find the Levenshtein distance between two CharSequences if it's less than or equal to a given threshold.
- limitedCompare(CharSequence, CharSequence, int) - Static method in class org.apache.commons.text.similarity.LevenshteinDistance
-
Find the Levenshtein distance between two CharSequences if it's less than or equal to a given threshold.
- LOCAL_HOST - org.apache.commons.text.lookup.DefaultStringLookup
-
The lookup for localhost information using the key "localhost".
- locale - Variable in class org.apache.commons.text.similarity.FuzzyScore
-
Locale used to change the case of text.
- 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
. - LocalHostStringLookup - Class in org.apache.commons.text.lookup
-
Looks up keys related to the local host: host name, canonical host name, host address.
- LocalHostStringLookup() - Constructor for class org.apache.commons.text.lookup.LocalHostStringLookup
-
No need to build instances for now.
- 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. - longest - Variable in class org.apache.commons.text.translate.LookupTranslator
-
The length of the longest key in the lookupMap.
- longestCommonSubsequence - Variable in class org.apache.commons.text.similarity.LongestCommonSubsequenceDistance
-
Object for calculating the longest common subsequence that we can then normalize in apply.
- 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 - Variable in enum org.apache.commons.text.lookup.DefaultStringLookup
-
The associated lookup instance.
- lookup(String) - Method in class org.apache.commons.text.lookup.BiFunctionStringLookup
- lookup(String) - Method in class org.apache.commons.text.lookup.ConstantStringLookup
-
Tries to resolve the specified variable.
- lookup(String) - Method in class org.apache.commons.text.lookup.DateStringLookup
-
Formats the current date with the format given in the key in a format compatible with
SimpleDateFormat
. - lookup(String) - Method in class org.apache.commons.text.lookup.DnsStringLookup
-
Looks up the DNS value of the key.
- lookup(String) - Method in class org.apache.commons.text.lookup.FileStringLookup
-
Looks up the value for the key in the format "DocumentPath:XPath".
- lookup(String) - Method in class org.apache.commons.text.lookup.FunctionStringLookup
-
Looks up a String key by applying the function.
- lookup(String) - Method in class org.apache.commons.text.lookup.InterpolatorStringLookup
-
Resolves the specified variable.
- lookup(String) - Method in class org.apache.commons.text.lookup.JavaPlatformStringLookup
-
Looks up the value of the Java platform key.
- lookup(String) - Method in class org.apache.commons.text.lookup.LocalHostStringLookup
-
Looks up the value of a local host key.
- lookup(String) - Method in class org.apache.commons.text.lookup.PropertiesStringLookup
-
Looks up the value for the key in the format "DocumentPath:XPath".
- lookup(String) - Method in class org.apache.commons.text.lookup.ResourceBundleStringLookup
-
Looks up the value for the key in the format "BundleName:BundleKey".
- lookup(String) - Method in class org.apache.commons.text.lookup.ScriptStringLookup
-
Execute the script with the engine name in the format "EngineName:Script".
- lookup(String) - Method in interface org.apache.commons.text.lookup.StringLookup
-
Looks up a String key to provide a String value.
- lookup(String) - Method in class org.apache.commons.text.lookup.UrlDecoderStringLookup
- lookup(String) - Method in class org.apache.commons.text.lookup.UrlEncoderStringLookup
- lookup(String) - Method in class org.apache.commons.text.lookup.UrlStringLookup
-
Looks up the value for the key in the format "DocumentPath:XPath".
- lookup(String) - Method in class org.apache.commons.text.lookup.XmlStringLookup
-
Looks up the value for the key in the format "DocumentPath:XPath".
- lookup(String) - Method in class org.apache.commons.text.StrLookup.MapStrLookup
-
Deprecated.Looks up a String key to a String value using the map.
- lookup(String) - Method in class org.apache.commons.text.StrLookup.ResourceBundleLookup
-
Deprecated.
- lookup(String) - Method in class org.apache.commons.text.StrLookup.SystemPropertiesStrLookup
-
Deprecated.Looks up a String key to provide a String value.
- lookup(String, P) - Method in class org.apache.commons.text.lookup.BiFunctionStringLookup
-
Looks up a String key by applying the function.
- lookup(String, U) - Method in interface org.apache.commons.text.lookup.BiStringLookup
-
Looks up a String key to provide a String value.
- lookupMap - Variable in class org.apache.commons.text.translate.LookupTranslator
-
The mapping to be used in translation.
- 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
- main(String[]) - Static method in class org.apache.commons.text.lookup.JavaPlatformStringLookup
-
The main method for running the JavaPlatformStringLookup.
- map - Variable in class org.apache.commons.text.similarity.IntersectionSimilarity.TinyBag
-
The backing map.
- map - Variable in class org.apache.commons.text.StrLookup.MapStrLookup
-
Deprecated.Map keys are variable names and value.
- 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.
- MapStrLookup(Map<String, V>) - Constructor for class org.apache.commons.text.StrLookup.MapStrLookup
-
Deprecated.Creates a new instance backed by a Map.
- mark - Variable in class org.apache.commons.text.StrBuilder.StrBuilderReader
-
Deprecated.The last mark position.
- mark - Variable in class org.apache.commons.text.TextStringBuilder.TextStringBuilderReader
-
The last mark position.
- mark(int) - Method in class org.apache.commons.text.StrBuilder.StrBuilderReader
-
Deprecated.
- mark(int) - Method in class org.apache.commons.text.TextStringBuilder.TextStringBuilderReader
- markSupported() - Method in class org.apache.commons.text.StrBuilder.StrBuilderReader
-
Deprecated.
- markSupported() - Method in class org.apache.commons.text.TextStringBuilder.TextStringBuilderReader
- 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.
- maximumCodePoint - Variable in class org.apache.commons.text.RandomStringGenerator.Builder
-
The maximum code point allowed.
- maximumCodePoint - Variable in class org.apache.commons.text.RandomStringGenerator
-
The largest allowed code point (inclusive).
- 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.
- minimumCodePoint - Variable in class org.apache.commons.text.RandomStringGenerator.Builder
-
The minimum code point allowed.
- minimumCodePoint - Variable in class org.apache.commons.text.RandomStringGenerator
-
The smallest allowed code point (inclusive).
- modifications - Variable in class org.apache.commons.text.diff.EditScript
-
Number of modifications.
N
- newLine - Variable in class org.apache.commons.text.StrBuilder
-
Deprecated.The new line.
- newLine - Variable in class org.apache.commons.text.TextStringBuilder
-
The new line.
- 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.
- next(ParsePosition) - Method in class org.apache.commons.text.ExtendedMessageFormat
-
Convenience method to advance parse position by 1.
- 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.
- NoMatcher() - Constructor for class org.apache.commons.text.StrMatcher.NoMatcher
-
Deprecated.Constructs a new instance of
NoMatcher
. - NONE_LOOKUP - Static variable in class org.apache.commons.text.StrLookup
-
Deprecated.Lookup that always returns null.
- NONE_MATCHER - Static variable in class org.apache.commons.text.matcher.StringMatcherFactory
-
Matches no characters.
- NONE_MATCHER - Static variable in class org.apache.commons.text.StrMatcher
-
Deprecated.Matches no characters.
- 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.
- NoneMatcher() - Constructor for class org.apache.commons.text.matcher.AbstractStringMatcher.NoneMatcher
-
Constructs a new instance of
NoMatcher
. - nullStringLookup() - Method in class org.apache.commons.text.lookup.StringLookupFactory
-
Returns the NullStringLookup singleton instance which always returns null.
- nullText - Variable in class org.apache.commons.text.StrBuilder
-
Deprecated.The null text.
- nullText - Variable in class org.apache.commons.text.TextStringBuilder
-
The null text.
- 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. - NumericEntityEscaper(int, int, boolean) - Constructor for class org.apache.commons.text.translate.NumericEntityEscaper
-
Constructs a
NumericEntityEscaper
for the specified range. - 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
- object - Variable in class org.apache.commons.text.diff.EditCommand
-
Object on which the command should be applied.
- 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
- of(CharSequence[]) - Static method in class org.apache.commons.text.similarity.Counter
-
It counts how many times each element provided occurred in an array and returns a dict with the element as key and the count as value.
- on(BiFunction<String, U, T>) - Static method in class org.apache.commons.text.lookup.BiFunctionStringLookup
-
Creates a new instance backed by a Function.
- on(Function<String, R>) - Static method in class org.apache.commons.text.lookup.FunctionStringLookup
-
Creates a new instance backed by a Function.
- on(Map<String, T>) - Static method in class org.apache.commons.text.lookup.BiFunctionStringLookup
-
Creates a new instance backed by a Map.
- on(Map<String, V>) - Static method in class org.apache.commons.text.lookup.FunctionStringLookup
-
Creates a new instance backed by a Map.
- OPTION() - Constructor for enum org.apache.commons.text.translate.NumericEntityUnescaper.OPTION
- options - Variable in class org.apache.commons.text.translate.NumericEntityUnescaper
-
EnumSet of OPTIONS, given from the constructor.
- 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.
- originalToEncoded - Variable in class org.apache.commons.text.AlphabetConverter
-
Original string to be encoded.
- 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
- parseFormatDescription(String, ParsePosition) - Method in class org.apache.commons.text.ExtendedMessageFormat
-
Parse the format component of a format element.
- parseObject(String, ParsePosition) - Method in class org.apache.commons.text.CompositeFormat
-
Uses the parser Format instance.
- parser - Variable in class org.apache.commons.text.CompositeFormat
-
The parser to use.
- PATTERN - Static variable in class org.apache.commons.text.similarity.RegexTokenizer
-
The whitespace pattern.
- pendingDeletions - Variable in class org.apache.commons.text.diff.ReplacementsFinder
-
List of pending deletions.
- pendingInsertions - Variable in class org.apache.commons.text.diff.ReplacementsFinder
-
List of pending insertions.
- pos - Variable in class org.apache.commons.text.StrBuilder.StrBuilderReader
-
Deprecated.The current stream position.
- pos - Variable in class org.apache.commons.text.TextStringBuilder.TextStringBuilderReader
-
The current stream position.
- PREFIX_SEPARATOR - Static variable in class org.apache.commons.text.lookup.InterpolatorStringLookup
-
Constant for the prefix separator.
- prefixEscapeMatcher - Variable in class org.apache.commons.text.io.StringSubstitutorReader
-
Matches escaped variable starts.
- prefixMatcher - Variable in class org.apache.commons.text.StringSubstitutor
-
Stores the variable prefix.
- prefixMatcher - Variable in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Stores the variable prefix.
- prefixSet - Variable in class org.apache.commons.text.translate.LookupTranslator
-
The first character of each key in the lookupMap.
- preserveEscapes - Variable in class org.apache.commons.text.StringSubstitutor
-
Whether escapes should be preserved.
- preserveEscapes - Variable in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Whether escapes should be preserved.
- 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.
- PropertiesStringLookup - Class in org.apache.commons.text.lookup
-
Looks up keys from an XML document.
- PropertiesStringLookup() - Constructor for class org.apache.commons.text.lookup.PropertiesStringLookup
-
No need to build instances for now.
Q
- QUOTE - Static variable in class org.apache.commons.text.ExtendedMessageFormat
-
A properly escaped character representing a single quote.
- QUOTE_MATCHER - Static variable in class org.apache.commons.text.matcher.StringMatcherFactory
-
Matches the single or double quote character.
- QUOTE_MATCHER - Static variable in class org.apache.commons.text.StrMatcher
-
Deprecated.Matches the single or double quote character.
- quoteMatcher - Variable in class org.apache.commons.text.StringTokenizer
-
The quote matcher.
- quoteMatcher - Variable in class org.apache.commons.text.StrTokenizer
-
Deprecated.The quote matcher.
- 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
- random - Variable in class org.apache.commons.text.RandomStringGenerator.Builder
-
The source of randomness.
- random - Variable in class org.apache.commons.text.RandomStringGenerator
-
The source of randomness for this generator.
- RandomStringGenerator - Class in org.apache.commons.text
-
Generates random Unicode strings containing the specified number of code points.
- RandomStringGenerator(int, int, Set<CharacterPredicate>, TextRandomProvider, List<Character>) - Constructor for class org.apache.commons.text.RandomStringGenerator
-
Constructs the generator.
- RandomStringGenerator.Builder - Class in org.apache.commons.text
-
A builder for generating
RandomStringGenerator
instances. - range - Variable in class org.apache.commons.text.translate.NumericEntityEscaper
-
range from lowest codepoint to highest codepoint.
- read() - Method in class org.apache.commons.text.io.StringSubstitutorReader
-
Reads a single character.
- read() - Method in class org.apache.commons.text.StrBuilder.StrBuilderReader
-
Deprecated.
- read() - Method in class org.apache.commons.text.TextStringBuilder.TextStringBuilderReader
- read(char[], int, int) - Method in class org.apache.commons.text.io.StringSubstitutorReader
-
Reads characters into a portion of an array.
- read(char[], int, int) - Method in class org.apache.commons.text.StrBuilder.StrBuilderReader
-
Deprecated.
- read(char[], int, int) - Method in class org.apache.commons.text.TextStringBuilder.TextStringBuilderReader
- read1CharBuffer - Variable in class org.apache.commons.text.io.StringSubstitutorReader
-
Internal buffer for
StringSubstitutorReader.read()
method. - readArgumentIndex(String, ParsePosition) - Method in class org.apache.commons.text.ExtendedMessageFormat
-
Read the argument index from the current format element.
- readCount(int, int) - Method in class org.apache.commons.text.io.StringSubstitutorReader
-
Returns how many chars to attempt reading to have room in the buffer for
count
chars starting at positionpos
. - 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. - readNextToken(char[], int, int, StrBuilder, List<String>) - Method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Reads character by character through the String to get the next token.
- readNextToken(char[], int, int, TextStringBuilder, List<String>) - Method in class org.apache.commons.text.StringTokenizer
-
Reads character by character through the String to get the next token.
- readWithQuotes(char[], int, int, StrBuilder, List<String>, int, int) - Method in class org.apache.commons.text.StrTokenizer
-
Deprecated.Reads a possibly quoted string token.
- readWithQuotes(char[], int, int, TextStringBuilder, List<String>, int, int) - Method in class org.apache.commons.text.StringTokenizer
-
Reads a possibly quoted string token.
- ready() - Method in class org.apache.commons.text.StrBuilder.StrBuilderReader
-
Deprecated.
- ready() - Method in class org.apache.commons.text.TextStringBuilder.TextStringBuilderReader
- reallocate(int) - Method in class org.apache.commons.text.TextStringBuilder
-
Reallocates the buffer to the new length.
- reallocations - Variable in class org.apache.commons.text.TextStringBuilder
-
Incremented when the buffer is reallocated.
- reformat(String) - Method in class org.apache.commons.text.CompositeFormat
-
Utility method to parse and then reformat a String.
- RegexTokenizer - Class in org.apache.commons.text.similarity
-
A simple word tokenizer that utilizes regex to find words.
- RegexTokenizer() - Constructor for class org.apache.commons.text.similarity.RegexTokenizer
- registry - Variable in class org.apache.commons.text.ExtendedMessageFormat
-
Our registry of FormatFactory's.
- 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.
- replaceImpl(int, int, int, String, int) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Internal method to delete a range without validation.
- replaceImpl(int, int, int, String, int) - Method in class org.apache.commons.text.TextStringBuilder
-
Internal method to delete a range without validation.
- replaceImpl(StringMatcher, String, int, int, int) - Method in class org.apache.commons.text.TextStringBuilder
-
Replaces within the builder using a matcher.
- replaceImpl(StrMatcher, String, int, int, int) - Method in class org.apache.commons.text.StrBuilder
-
Deprecated.Replaces within the builder using a matcher.
- 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.StrBuilder.StrBuilderReader
-
Deprecated.
- 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() - Method in class org.apache.commons.text.TextStringBuilder.TextStringBuilderReader
- 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.
- resolveField(String, String) - Method in class org.apache.commons.text.lookup.ConstantStringLookup
-
Determines the value of the specified constant member field of a class.
- 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".
- resourceBundle - Variable in class org.apache.commons.text.StrLookup.ResourceBundleLookup
-
Deprecated.ResourceBundle keys are variable names and value.
- resourceBundleLookup(ResourceBundle) - Static method in class org.apache.commons.text.StrLookup
-
Deprecated.Returns a lookup which looks up values using a ResourceBundle.
- ResourceBundleLookup(ResourceBundle) - Constructor for class org.apache.commons.text.StrLookup.ResourceBundleLookup
-
Deprecated.Creates a new instance backed by 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.
- ResourceBundleStringLookup - Class in org.apache.commons.text.lookup
-
Looks up keys from resource bundles.
- ResourceBundleStringLookup() - Constructor for class org.apache.commons.text.lookup.ResourceBundleStringLookup
-
Constructs a blank instance.
- ResourceBundleStringLookup(String) - Constructor for class org.apache.commons.text.lookup.ResourceBundleStringLookup
-
Constructs an instance that only works for the given bundle.
- Result(boolean, int) - Constructor for class org.apache.commons.text.StringSubstitutor.Result
- 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.
- right - Variable in class org.apache.commons.text.diff.StringsComparator
-
Second character sequence.
- 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
- sb - Variable in class org.apache.commons.text.StringEscapeUtils.Builder
-
StringBuilder to be used in the Builder class.
- 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.
- ScriptStringLookup - Class in org.apache.commons.text.lookup
-
Executes the script with the given engine name.
- ScriptStringLookup() - Constructor for class org.apache.commons.text.lookup.ScriptStringLookup
-
No need to build instances for now.
- seekNonWs(String, ParsePosition) - Method in class org.apache.commons.text.ExtendedMessageFormat
-
Consume whitespace from the current parse position.
- 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.
- SEPARATOR - Static variable in class org.apache.commons.text.lookup.PropertiesStringLookup
-
Separates file and key.
- serialVersionUID - Static variable in class org.apache.commons.text.CompositeFormat
-
Required for serialization support.
- serialVersionUID - Static variable in class org.apache.commons.text.ExtendedMessageFormat
-
Serializable Object.
- serialVersionUID - Static variable in class org.apache.commons.text.StrBuilder
-
Deprecated.Required for serialization support.
- serialVersionUID - Static variable in class org.apache.commons.text.TextStringBuilder
-
Required for serialization support.
- 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.
- shortest - Variable in class org.apache.commons.text.translate.LookupTranslator
-
The length of the shortest key in the lookupMap.
- similarityScore - Variable in class org.apache.commons.text.similarity.SimilarityScoreFrom
-
Similarity score.
- 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.
- SIMPLEST_FORMAT - Static variable in class org.apache.commons.text.FormattableUtils
-
A format that simply outputs the value as a string.
- SINGLE_QUOTE_MATCHER - Static variable in class org.apache.commons.text.matcher.StringMatcherFactory
-
Matches the double quote character.
- SINGLE_QUOTE_MATCHER - Static variable in class org.apache.commons.text.StrMatcher
-
Deprecated.Matches the double quote character.
- SinglePassTranslator - Class in org.apache.commons.text.translate
-
Abstract translator for processing whole input in single pass.
- SinglePassTranslator() - Constructor for class org.apache.commons.text.translate.SinglePassTranslator
- 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 - Variable in class org.apache.commons.text.StrBuilder
-
Deprecated.Current size of the buffer.
- size - Variable in class org.apache.commons.text.TextStringBuilder
-
Current size of the buffer.
- size() - Method in class org.apache.commons.text.matcher.AbstractStringMatcher.AndStringMatcher
- size() - Method in class org.apache.commons.text.matcher.AbstractStringMatcher.CharArrayMatcher
-
Returns the size of the string to match given in the constructor.
- size() - Method in class org.apache.commons.text.matcher.AbstractStringMatcher.CharMatcher
-
Returns 1.
- size() - Method in class org.apache.commons.text.matcher.AbstractStringMatcher.CharSetMatcher
-
Returns 1.
- size() - Method in class org.apache.commons.text.matcher.AbstractStringMatcher.NoneMatcher
-
Returns 0.
- size() - Method in class org.apache.commons.text.matcher.AbstractStringMatcher.TrimMatcher
-
Returns 1.
- 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.
- sizeA - Variable in class org.apache.commons.text.similarity.IntersectionResult
-
The size of set A.
- sizeB - Variable in class org.apache.commons.text.similarity.IntersectionResult
-
The size of set B.
- skip(long) - Method in class org.apache.commons.text.StrBuilder.StrBuilderReader
-
Deprecated.
- skip(long) - Method in class org.apache.commons.text.TextStringBuilder.TextStringBuilderReader
- skipped - Variable in class org.apache.commons.text.diff.ReplacementsFinder
-
Count of elements skipped.
- Snake(int, int, int) - Constructor for class org.apache.commons.text.diff.StringsComparator.Snake
-
Simple constructor.
- SPACE - Static variable in class org.apache.commons.text.TextStringBuilder
-
The space character.
- SPACE_INT - Static variable in class org.apache.commons.text.matcher.AbstractStringMatcher.TrimMatcher
-
The space character.
- SPACE_MATCHER - Static variable in class org.apache.commons.text.matcher.StringMatcherFactory
-
Matches the space character.
- SPACE_MATCHER - Static variable in class org.apache.commons.text.StrMatcher
-
Deprecated.Matches the space character.
- 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.
- SPLIT_CH - Static variable in class org.apache.commons.text.lookup.AbstractStringLookup
-
The default split char.
- SPLIT_MATCHER - Static variable in class org.apache.commons.text.matcher.StringMatcherFactory
-
Matches the same characters as StringTokenizer, namely space, tab, newline, form feed.
- SPLIT_MATCHER - Static variable in class org.apache.commons.text.StrMatcher
-
Deprecated.Matches the same characters as StringTokenizer, namely space, tab, newline, form feed.
- SPLIT_STR - Static variable in class org.apache.commons.text.lookup.AbstractStringLookup
-
The default split string.
- 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.
- start - Variable in class org.apache.commons.text.diff.StringsComparator.Snake
-
Start index.
- START_FE - Static variable in class org.apache.commons.text.ExtendedMessageFormat
-
A left side squiggly brace.
- START_FMT - Static variable in class org.apache.commons.text.ExtendedMessageFormat
-
A comma.
- 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.
- StrBuilder.StrBuilderReader - Class in org.apache.commons.text
-
Deprecated.Inner class to allow StrBuilder to operate as a reader.
- StrBuilder.StrBuilderTokenizer - Class in org.apache.commons.text
-
Deprecated.Inner class to allow StrBuilder to operate as a tokenizer.
- StrBuilder.StrBuilderWriter - Class in org.apache.commons.text
-
Deprecated.Inner class to allow StrBuilder to operate as a writer.
- StrBuilderReader() - Constructor for class org.apache.commons.text.StrBuilder.StrBuilderReader
-
Deprecated.Default constructor.
- StrBuilderTokenizer() - Constructor for class org.apache.commons.text.StrBuilder.StrBuilderTokenizer
-
Deprecated.Default constructor.
- StrBuilderWriter() - Constructor for class org.apache.commons.text.StrBuilder.StrBuilderWriter
-
Deprecated.Default constructor.
- string - Variable in class org.apache.commons.text.matcher.AbstractStringMatcher.CharArrayMatcher
-
The string to match.
- 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. - StringEscapeUtils.XsiUnescaper - Class in org.apache.commons.text
-
Translator object for unescaping backslash escaped entries.
- 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.
- StringLookupFactory() - Constructor for class org.apache.commons.text.lookup.StringLookupFactory
-
No need to build instances for now.
- stringLookupMap - Variable in class org.apache.commons.text.lookup.InterpolatorStringLookup
-
The map of String lookups keyed by prefix.
- 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.
- StringMatcher(String) - Constructor for class org.apache.commons.text.StrMatcher.StringMatcher
-
Deprecated.Constructor that creates a matcher from a String.
- StringMatcherFactory - Class in org.apache.commons.text.matcher
-
Provides access to matchers defined in this package.
- StringMatcherFactory() - Constructor for class org.apache.commons.text.matcher.StringMatcherFactory
-
No need to build instances for now.
- stringMatchers - Variable in class org.apache.commons.text.matcher.AbstractStringMatcher.AndStringMatcher
-
Matchers in order.
- 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.
- StringsComparator.Snake - Class in org.apache.commons.text.diff
-
This class is a simple placeholder to hold the end part of a path under construction in a
StringsComparator
. - stringSubstitutor - Variable in class org.apache.commons.text.io.StringSubstitutorReader
-
The underlying StringSubstitutor.
- 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.
- StringSubstitutor.Result - Class in org.apache.commons.text
-
The low-level result of a substitution.
- 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.
- StrLookup.MapStrLookup<V> - Class in org.apache.commons.text
-
Deprecated.Lookup implementation that uses a Map.
- StrLookup.ResourceBundleLookup - Class in org.apache.commons.text
-
Deprecated.Lookup implementation based on a ResourceBundle.
- StrLookup.SystemPropertiesStrLookup - Class in org.apache.commons.text
-
Deprecated.Lookup implementation based on system properties.
- 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.
- StrMatcher.CharMatcher - Class in org.apache.commons.text
-
Deprecated.Class used to define a character for matching purposes.
- StrMatcher.CharSetMatcher - Class in org.apache.commons.text
-
Deprecated.Class used to define a set of characters for matching purposes.
- StrMatcher.NoMatcher - Class in org.apache.commons.text
-
Deprecated.Class used to match no characters.
- StrMatcher.StringMatcher - Class in org.apache.commons.text
-
Deprecated.Class used to define a set of characters for matching purposes.
- StrMatcher.TrimMatcher - Class in org.apache.commons.text
-
Deprecated.Class used to match whitespace as per trim().
- 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(StrBuilder, int, int, List<String>) - Method in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Recursive handler for multiple levels of interpolation.
- substitute(TextStringBuilder, int, int) - Method in class org.apache.commons.text.StringSubstitutor
-
Internal method that substitutes the variables.
- substitute(TextStringBuilder, int, int, List<String>) - Method in class org.apache.commons.text.StringSubstitutor
-
Recursive handler for multiple levels of interpolation.
- substituteCount - Variable in class org.apache.commons.text.similarity.LevenshteinResults
-
Substitute character count.
- 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.
- substringAfter(String, char) - Method in class org.apache.commons.text.lookup.AbstractStringLookup
-
Deprecated.Use
StringUtils.substringAfter(String, int)
. - substringAfter(String, String) - Method in class org.apache.commons.text.lookup.AbstractStringLookup
-
Deprecated.Use
StringUtils.substringAfter(String, String)
. - substringAfterLast(String, char) - Method in class org.apache.commons.text.lookup.AbstractStringLookup
-
Deprecated.Use
StringUtils.substringAfterLast(String, int)
. - suffixMatcher - Variable in class org.apache.commons.text.StringSubstitutor
-
Stores the variable suffix.
- suffixMatcher - Variable in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Stores the variable suffix.
- 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".
- SYSTEM_PROPERTIES_LOOKUP - Static variable in class org.apache.commons.text.StrLookup
-
Deprecated.Lookup based on system properties.
- systemPropertiesLookup() - Static method in class org.apache.commons.text.StrLookup
-
Deprecated.Returns a new lookup which uses a copy of the current
System properties
. - SystemPropertiesStrLookup() - Constructor for class org.apache.commons.text.StrLookup.SystemPropertiesStrLookup
-
Deprecated.
- 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
- TAB_MATCHER - Static variable in class org.apache.commons.text.matcher.StringMatcherFactory
-
Matches the tab character.
- TAB_MATCHER - Static variable in class org.apache.commons.text.StrMatcher
-
Deprecated.Matches the tab character.
- 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(char[], int) - Constructor for class org.apache.commons.text.TextStringBuilder
-
Constructs an instance from a reference to a character array.
- 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.
- TextStringBuilder.TextStringBuilderReader - Class in org.apache.commons.text
-
Inner class to allow StrBuilder to operate as a reader.
- TextStringBuilder.TextStringBuilderTokenizer - Class in org.apache.commons.text
-
Inner class to allow StrBuilder to operate as a tokenizer.
- TextStringBuilder.TextStringBuilderWriter - Class in org.apache.commons.text
-
Inner class to allow StrBuilder to operate as a writer.
- TextStringBuilderReader() - Constructor for class org.apache.commons.text.TextStringBuilder.TextStringBuilderReader
-
Default constructor.
- TextStringBuilderTokenizer() - Constructor for class org.apache.commons.text.TextStringBuilder.TextStringBuilderTokenizer
-
Default constructor.
- TextStringBuilderWriter() - Constructor for class org.apache.commons.text.TextStringBuilder.TextStringBuilderWriter
-
Default constructor.
- threshold - Variable in class org.apache.commons.text.similarity.LevenshteinDetailedDistance
-
Threshold.
- threshold - Variable in class org.apache.commons.text.similarity.LevenshteinDistance
-
Threshold.
- TinyBag(int) - Constructor for class org.apache.commons.text.similarity.IntersectionSimilarity.TinyBag
-
Create a new tiny bag.
- toBag(Collection<T>) - Method in class org.apache.commons.text.similarity.IntersectionSimilarity
-
Convert the collection to a bag.
- 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.
- toDrain - Variable in class org.apache.commons.text.io.StringSubstitutorReader
-
We don't always want to drain the whole buffer.
- tokenize(char[], int, int) - Method in class org.apache.commons.text.StrBuilder.StrBuilderTokenizer
-
Deprecated.Internal method to performs the tokenization.
- 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.
- tokenize(char[], int, int) - Method in class org.apache.commons.text.TextStringBuilder.TextStringBuilderTokenizer
-
Internal method to performs the tokenization.
- tokenize(CharSequence) - Method in class org.apache.commons.text.similarity.RegexTokenizer
-
Returns an array of tokens.
- tokenize(CharSequence) - Method in interface org.apache.commons.text.similarity.Tokenizer
-
Returns an array of tokens.
- tokenizer - Variable in class org.apache.commons.text.similarity.CosineDistance
-
Tokenizer used to convert the character sequence into a vector.
- Tokenizer<T> - Interface in org.apache.commons.text.similarity
-
A tokenizer.
- tokenPos - Variable in class org.apache.commons.text.StringTokenizer
-
The current iteration position.
- tokenPos - Variable in class org.apache.commons.text.StrTokenizer
-
Deprecated.The current iteration position.
- tokens - Variable in class org.apache.commons.text.StringTokenizer
-
The parsed tokens.
- tokens - Variable in class org.apache.commons.text.StrTokenizer
-
Deprecated.The parsed tokens.
- toKey(String) - Static method in class org.apache.commons.text.lookup.InterpolatorStringLookup
- toLookupKey(String, String) - Static method in class org.apache.commons.text.lookup.AbstractStringLookup
-
Creates a lookup key for a given file and key.
- toLookupKey(String, String, String) - Static method in class org.apache.commons.text.lookup.AbstractStringLookup
-
Creates a lookup key for a given file and key.
- toPattern - Variable in class org.apache.commons.text.ExtendedMessageFormat
-
To pattern string.
- toPattern() - Method in class org.apache.commons.text.ExtendedMessageFormat
- toPropertyKey(String, String) - Static method in class org.apache.commons.text.lookup.PropertiesStringLookup
-
Creates a lookup key for a given file and key.
- toString() - Method in class org.apache.commons.text.AlphabetConverter
- toString() - Method in class org.apache.commons.text.lookup.BiFunctionStringLookup
- toString() - Method in class org.apache.commons.text.lookup.FunctionStringLookup
- toString() - Method in class org.apache.commons.text.lookup.InterpolatorStringLookup
- toString() - Method in class org.apache.commons.text.lookup.ResourceBundleStringLookup
- toString() - Method in class org.apache.commons.text.matcher.AbstractStringMatcher.CharArrayMatcher
- toString() - Method in class org.apache.commons.text.matcher.AbstractStringMatcher.CharMatcher
- toString() - Method in class org.apache.commons.text.matcher.AbstractStringMatcher.CharSetMatcher
- 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.StringSubstitutor.Result
- 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.StrLookup.MapStrLookup
-
Deprecated.
- toString() - Method in class org.apache.commons.text.StrLookup.ResourceBundleLookup
-
Deprecated.
- toString() - Method in class org.apache.commons.text.StrMatcher.StringMatcher
-
Deprecated.
- 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.StringEscapeUtils.XsiUnescaper
- 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.SinglePassTranslator
- 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.
- translateWhole(CharSequence, Writer) - Method in class org.apache.commons.text.translate.CsvTranslators.CsvEscaper
- translateWhole(CharSequence, Writer) - Method in class org.apache.commons.text.translate.CsvTranslators.CsvUnescaper
- translateWhole(CharSequence, Writer) - Method in class org.apache.commons.text.translate.SinglePassTranslator
-
Translate whole set of code points passed in input.
- translator - Variable in class org.apache.commons.text.StringEscapeUtils.Builder
-
CharSequenceTranslator to be used in the Builder class.
- translators - Variable in class org.apache.commons.text.translate.AggregateTranslator
-
Translator list.
- 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.
- TRIM_MATCHER - Static variable in class org.apache.commons.text.matcher.StringMatcherFactory
-
Matches the String trim() whitespace characters.
- TRIM_MATCHER - Static variable in class org.apache.commons.text.StrMatcher
-
Deprecated.Matches the String trim() whitespace characters.
- 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.
- TrimMatcher() - Constructor for class org.apache.commons.text.matcher.AbstractStringMatcher.TrimMatcher
-
Constructs a new instance of
TrimMatcher
. - TrimMatcher() - Constructor for class org.apache.commons.text.StrMatcher.TrimMatcher
-
Deprecated.Constructs a new instance of
TrimMatcher
. - trimmerMatcher - Variable in class org.apache.commons.text.StringTokenizer
-
The trimmer matcher.
- trimmerMatcher - Variable in class org.apache.commons.text.StrTokenizer
-
Deprecated.The trimmer matcher.
- TRUE_STRING_SIZE - Static variable in class org.apache.commons.text.TextStringBuilder
-
The size of the string
"true"
. - TSV_TOKENIZER_PROTOTYPE - Static variable in class org.apache.commons.text.StringTokenizer
-
Tab separated values tokenizer internal variable.
- TSV_TOKENIZER_PROTOTYPE - Static variable in class org.apache.commons.text.StrTokenizer
-
Deprecated.Tab separated values tokenizer internal variable.
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
- uniqueElementSize() - Method in class org.apache.commons.text.similarity.IntersectionSimilarity.TinyBag
-
Get the number of unique elements in the bag.
- unlimitedCompare(CharSequence, CharSequence) - Static method in class org.apache.commons.text.similarity.LevenshteinDetailedDistance
-
Find the Levenshtein distance between two Strings.
- unlimitedCompare(CharSequence, CharSequence) - Static method in class org.apache.commons.text.similarity.LevenshteinDistance
-
Find the Levenshtein distance between two Strings.
- 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.
- UrlDecoderStringLookup - Class in org.apache.commons.text.lookup
-
Decodes URL Strings using the UTF-8 encoding.
- UrlDecoderStringLookup() - Constructor for class org.apache.commons.text.lookup.UrlDecoderStringLookup
-
This ctor is not private to allow Mockito spying.
- urlEncoderStringLookup() - Method in class org.apache.commons.text.lookup.StringLookupFactory
-
Returns the UrlDecoderStringLookup singleton instance.
- UrlEncoderStringLookup - Class in org.apache.commons.text.lookup
-
Encodes URL Strings using the UTF-8 encoding.
- UrlEncoderStringLookup() - Constructor for class org.apache.commons.text.lookup.UrlEncoderStringLookup
-
This ctor is not private to allow Mockito spying.
- urlStringLookup() - Method in class org.apache.commons.text.lookup.StringLookupFactory
-
Returns the UrlStringLookup singleton instance.
- UrlStringLookup - Class in org.apache.commons.text.lookup
-
Looks up keys from an XML document.
- UrlStringLookup() - Constructor for class org.apache.commons.text.lookup.UrlStringLookup
-
No need to build instances for now.
- 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.
- valueDelimiterMatcher - Variable in class org.apache.commons.text.StringSubstitutor
-
Stores the default variable value delimiter.
- valueDelimiterMatcher - Variable in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Stores the default variable value delimiter.
- 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.
- variableResolver - Variable in class org.apache.commons.text.StringSubstitutor
-
Variable resolution is delegated to an implementor of
StringLookup
. - variableResolver - Variable in class org.apache.commons.text.StrSubstitutor
-
Deprecated.Variable resolution is delegated to an implementor of VariableResolver.
- vDown - Variable in class org.apache.commons.text.diff.StringsComparator
-
Temporary array.
- 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.
- vUp - Variable in class org.apache.commons.text.diff.StringsComparator
-
Temporary array.
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
. - write(char[]) - Method in class org.apache.commons.text.StrBuilder.StrBuilderWriter
-
Deprecated.
- write(char[]) - Method in class org.apache.commons.text.TextStringBuilder.TextStringBuilderWriter
- write(char[], int, int) - Method in class org.apache.commons.text.StrBuilder.StrBuilderWriter
-
Deprecated.
- write(char[], int, int) - Method in class org.apache.commons.text.TextStringBuilder.TextStringBuilderWriter
- write(int) - Method in class org.apache.commons.text.StrBuilder.StrBuilderWriter
-
Deprecated.
- write(int) - Method in class org.apache.commons.text.TextStringBuilder.TextStringBuilderWriter
- write(String) - Method in class org.apache.commons.text.StrBuilder.StrBuilderWriter
-
Deprecated.
- write(String) - Method in class org.apache.commons.text.TextStringBuilder.TextStringBuilderWriter
- write(String, int, int) - Method in class org.apache.commons.text.StrBuilder.StrBuilderWriter
-
Deprecated.
- write(String, int, int) - Method in class org.apache.commons.text.TextStringBuilder.TextStringBuilderWriter
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.
- XmlStringLookup - Class in org.apache.commons.text.lookup
-
Looks up keys from an XML document.
- XmlStringLookup() - Constructor for class org.apache.commons.text.lookup.XmlStringLookup
-
No need to build instances for now.
- XsiUnescaper() - Constructor for class org.apache.commons.text.StringEscapeUtils.XsiUnescaper
All Classes All Packages