- above(int) - Static method in class org.apache.commons.text.translate.JavaUnicodeEscaper
-
Constructs a JavaUnicodeEscaper
above the specified value (exclusive).
- above(int) - Static method in class org.apache.commons.text.translate.NumericEntityEscaper
-
Constructs a NumericEntityEscaper
above the specified value (exclusive).
- above(int) - Static method in class org.apache.commons.text.translate.UnicodeEscaper
-
Constructs a UnicodeEscaper
above the specified value (exclusive).
- accept(CommandVisitor<T>) - Method in class org.apache.commons.text.diff.DeleteCommand
-
Accept a visitor.
- accept(CommandVisitor<T>) - Method in class org.apache.commons.text.diff.EditCommand
-
Accept a visitor.
- accept(CommandVisitor<T>) - Method in class org.apache.commons.text.diff.InsertCommand
-
Accept a visitor.
- accept(CommandVisitor<T>) - Method in class org.apache.commons.text.diff.KeepCommand
-
Accept a visitor.
- add(String) - Method in class org.apache.commons.text.StrTokenizer
-
Unsupported ListIterator operation.
- 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.
- APOS_ESCAPE() - Static method in class org.apache.commons.text.translate.EntityArrays
-
Mapping to escape the apostrophe character to its XML character entity.
- APOS_UNESCAPE() - Static method in class org.apache.commons.text.translate.EntityArrays
-
- append(KeepCommand<T>) - Method in class org.apache.commons.text.diff.EditScript
-
Add a keep command to the script.
- append(InsertCommand<T>) - Method in class org.apache.commons.text.diff.EditScript
-
Add an insert command to the script.
- append(DeleteCommand<T>) - Method in class org.apache.commons.text.diff.EditScript
-
Add a delete command to the script.
- 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, 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(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(Object) - Method in class org.apache.commons.text.StrBuilder
-
Appends an object to this string builder.
- append(CharSequence) - Method in class org.apache.commons.text.StrBuilder
-
Appends a CharSequence to this string builder.
- append(CharSequence, int, int) - Method in class org.apache.commons.text.StrBuilder
-
Appends part of a CharSequence to this string builder.
- append(String) - Method in class org.apache.commons.text.StrBuilder
-
Appends a string to this string builder.
- append(String, int, int) - Method in class org.apache.commons.text.StrBuilder
-
Appends part of a string to this string builder.
- append(String, Object...) - Method in class org.apache.commons.text.StrBuilder
-
- append(CharBuffer) - Method in class org.apache.commons.text.StrBuilder
-
Appends the contents of a char buffer to this string builder.
- append(CharBuffer, int, int) - Method in class org.apache.commons.text.StrBuilder
-
Appends the contents of a char buffer to this string builder.
- append(StringBuffer) - Method in class org.apache.commons.text.StrBuilder
-
Appends a string buffer to this string builder.
- append(StringBuffer, int, int) - Method in class org.apache.commons.text.StrBuilder
-
Appends part of a string buffer to this string builder.
- append(StringBuilder) - Method in class org.apache.commons.text.StrBuilder
-
Appends a StringBuilder to this string builder.
- append(StringBuilder, int, int) - Method in class org.apache.commons.text.StrBuilder
-
Appends part of a StringBuilder to this string builder.
- append(StrBuilder) - Method in class org.apache.commons.text.StrBuilder
-
Appends another string builder to this string builder.
- append(StrBuilder, int, int) - Method in class org.apache.commons.text.StrBuilder
-
Appends part of a string builder to this string builder.
- append(char[]) - Method in class org.apache.commons.text.StrBuilder
-
Appends a char array to the string builder.
- append(char[], int, int) - Method in class org.apache.commons.text.StrBuilder
-
Appends a char array to the string builder.
- append(boolean) - Method in class org.apache.commons.text.StrBuilder
-
Appends a boolean value to the string builder.
- append(char) - Method in class org.apache.commons.text.StrBuilder
-
Appends a char value to the string builder.
- append(int) - Method in class org.apache.commons.text.StrBuilder
-
Appends an int value to the string builder using String.valueOf
.
- append(long) - Method in class org.apache.commons.text.StrBuilder
-
Appends a long value to the string builder using String.valueOf
.
- append(float) - Method in class org.apache.commons.text.StrBuilder
-
Appends a float value to the string builder using String.valueOf
.
- append(double) - Method in class org.apache.commons.text.StrBuilder
-
Appends a double value to the string builder using String.valueOf
.
- append(String) - Method in class org.apache.commons.text.StringEscapeUtils.Builder
-
Literal append, no escaping being done.
- appendAll(T...) - Method in class org.apache.commons.text.StrBuilder
-
Appends each item in an array to the builder without any separators.
- appendAll(Iterable<?>) - Method in class org.apache.commons.text.StrBuilder
-
Appends each item in an iterable to the builder without any separators.
- appendAll(Iterator<?>) - Method in class org.apache.commons.text.StrBuilder
-
Appends each item in an iterator to the builder without any separators.
- appendFixedWidthPadLeft(Object, int, char) - Method in class org.apache.commons.text.StrBuilder
-
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.StrBuilder
-
Appends an object to the builder padding on the left to a fixed width.
- appendFixedWidthPadRight(Object, int, char) - Method in class org.apache.commons.text.StrBuilder
-
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.StrBuilder
-
Appends an object to the builder padding on the right to a fixed length.
- appendln(Object) - Method in class org.apache.commons.text.StrBuilder
-
Appends an object followed by a new line to this string builder.
- appendln(String) - Method in class org.apache.commons.text.StrBuilder
-
Appends a string followed by a new line to this string builder.
- appendln(String, int, int) - Method in class org.apache.commons.text.StrBuilder
-
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
-
- appendln(StringBuffer) - Method in class org.apache.commons.text.StrBuilder
-
Appends a string buffer followed by a new line to this string builder.
- appendln(StringBuilder) - Method in class org.apache.commons.text.StrBuilder
-
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
-
Appends part of a string builder followed by a new line to this string builder.
- appendln(StringBuffer, int, int) - Method in class org.apache.commons.text.StrBuilder
-
Appends part of a string buffer followed by a new line to this string builder.
- appendln(StrBuilder) - Method in class org.apache.commons.text.StrBuilder
-
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
-
Appends part of a string builder followed by a new line to this string builder.
- appendln(char[]) - Method in class org.apache.commons.text.StrBuilder
-
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
-
Appends a char array followed by a new line to the string builder.
- appendln(boolean) - Method in class org.apache.commons.text.StrBuilder
-
Appends a boolean value followed by a new line to the string builder.
- appendln(char) - Method in class org.apache.commons.text.StrBuilder
-
Appends a char value followed by a new line to the string builder.
- appendln(int) - Method in class org.apache.commons.text.StrBuilder
-
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
-
Appends a long value followed by a new line to the string builder using String.valueOf
.
- appendln(float) - Method in class org.apache.commons.text.StrBuilder
-
Appends a float value followed by a new line to the string builder using String.valueOf
.
- appendln(double) - Method in class org.apache.commons.text.StrBuilder
-
Appends a double value followed by a new line to the string builder using String.valueOf
.
- appendNewLine() - Method in class org.apache.commons.text.StrBuilder
-
Appends the new line string to this string builder.
- appendNull() - Method in class org.apache.commons.text.StrBuilder
-
Appends the text representing null
to this string builder.
- appendPadding(int, char) - Method in class org.apache.commons.text.StrBuilder
-
Appends the pad character to the builder the specified number of times.
- appendSeparator(String) - Method in class org.apache.commons.text.StrBuilder
-
Appends a separator if the builder is currently non-empty.
- appendSeparator(String, String) - Method in class org.apache.commons.text.StrBuilder
-
Appends one of both separators to the StrBuilder.
- appendSeparator(char) - Method in class org.apache.commons.text.StrBuilder
-
Appends a separator if the builder is currently non-empty.
- appendSeparator(char, char) - Method in class org.apache.commons.text.StrBuilder
-
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(String, int) - Method in class org.apache.commons.text.StrBuilder
-
Appends a separator to the builder if the loop index is greater than zero.
- appendSeparator(char, int) - Method in class org.apache.commons.text.StrBuilder
-
Appends a separator to the builder if the loop index is greater than zero.
- appendTo(Appendable) - Method in class org.apache.commons.text.StrBuilder
-
Appends current contents of this
StrBuilder
to the
provided
Appendable
.
- appendWithSeparators(Object[], String) - Method in class org.apache.commons.text.StrBuilder
-
Appends an array placing separators between each value, but
not before the first or after the last.
- appendWithSeparators(Iterable<?>, String) - Method in class org.apache.commons.text.StrBuilder
-
Appends an iterable 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
-
Appends an iterator placing separators between each value, but
not before the first or after the last.
- 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) - Method in class org.apache.commons.text.similarity.EditDistanceFrom
-
This compares "left" field against the "right" parameter
using the "edit distance" implementation.
- 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.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
-
Find the Jaro Winkler Distance which indicates the similarity score
between two CharSequences.
- 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 longestCommonSubsequence similarity score of two CharSequence
's passed as
input.
- apply(CharSequence, CharSequence) - Method in class org.apache.commons.text.similarity.LongestCommonSubsequenceDistance
-
- apply(CharSequence, CharSequence) - Method in interface org.apache.commons.text.similarity.SimilarityScore
-
Compares two CharSequences.
- apply(CharSequence) - Method in class org.apache.commons.text.similarity.SimilarityScoreFrom
-
This compares "left" field against the "right" parameter
using the "similarity score" implementation.
- applyPattern(String) - Method in class org.apache.commons.text.ExtendedMessageFormat
-
Apply the specified pattern.
- asReader() - Method in class org.apache.commons.text.StrBuilder
-
Gets the contents of this builder as a Reader.
- asTokenizer() - Method in class org.apache.commons.text.StrBuilder
-
Creates a tokenizer that can tokenize the contents of this builder.
- asWriter() - Method in class org.apache.commons.text.StrBuilder
-
Gets this builder as a Writer that can be written to.
- capacity() - Method in class org.apache.commons.text.StrBuilder
-
Gets the current size of the internal character array buffer.
- CharacterPredicate - Interface in org.apache.commons.text
-
A predicate for selecting code points.
- CharacterPredicates - Enum in org.apache.commons.text
-
- charAt(int) - Method in class org.apache.commons.text.StrBuilder
-
Gets the character at the specified index.
- charMatcher(char) - Static method in class org.apache.commons.text.StrMatcher
-
Constructor that creates a matcher from a character.
- CharSequenceTranslator - Class in org.apache.commons.text.translate
-
An API for translating text.
- CharSequenceTranslator() - Constructor for class org.apache.commons.text.translate.CharSequenceTranslator
-
- charSetMatcher(char...) - Static method in class org.apache.commons.text.StrMatcher
-
Constructor that creates a matcher from a set of characters.
- charSetMatcher(String) - Static method in class org.apache.commons.text.StrMatcher
-
Constructor that creates a matcher from a string representing a set of characters.
- clear() - Method in class org.apache.commons.text.StrBuilder
-
Clears the string builder (convenience Collections API style method).
- clone() - Method in class org.apache.commons.text.StrTokenizer
-
Creates a new instance of this Tokenizer.
- CodePointTranslator - Class in org.apache.commons.text.translate
-
Helper subclass to CharSequenceTranslator to allow for translations that
will replace up to one character at a time.
- CodePointTranslator() - Constructor for class org.apache.commons.text.translate.CodePointTranslator
-
- commaMatcher() - Static method in class org.apache.commons.text.StrMatcher
-
Returns a matcher which matches the comma character.
- CommandVisitor<T> - Interface in org.apache.commons.text.diff
-
This interface should be implemented by user object to walk
through
EditScript
objects.
- CompositeFormat - Class in org.apache.commons.text
-
Formats using one formatter and parses using a different formatter.
- CompositeFormat(Format, Format) - Constructor for class org.apache.commons.text.CompositeFormat
-
Create a format that points its parseObject method to one implementation
and its format method to another.
- contains(char) - Method in class org.apache.commons.text.StrBuilder
-
Checks if the string builder contains the specified char.
- contains(String) - Method in class org.apache.commons.text.StrBuilder
-
Checks if the string builder contains the specified string.
- contains(StrMatcher) - Method in class org.apache.commons.text.StrBuilder
-
Checks if the string builder contains a string matched using the
specified matcher.
- 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 - 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
-
- cosineSimilarity(Map<CharSequence, Integer>, Map<CharSequence, Integer>) - Method in class org.apache.commons.text.similarity.CosineSimilarity
-
Calculates the cosine similarity for two given vectors.
- 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.
- EditCommand<T> - Class in org.apache.commons.text.diff
-
Abstract base class for all commands used to transform an objects sequence
into another one.
- EditCommand(T) - Constructor for class org.apache.commons.text.diff.EditCommand
-
Simple constructor.
- EditDistance<R> - Interface in org.apache.commons.text.similarity
-
- EditDistanceFrom<R> - Class in org.apache.commons.text.similarity
-
- EditDistanceFrom(EditDistance<R>, CharSequence) - Constructor for class org.apache.commons.text.similarity.EditDistanceFrom
-
This accepts the edit distance implementation and the "left" string.
- EditScript<T> - Class in org.apache.commons.text.diff
-
This class gathers all the
commands
needed to transform
one objects sequence into another objects sequence.
- EditScript() - Constructor for class org.apache.commons.text.diff.EditScript
-
Simple constructor.
- encode(String) - Method in class org.apache.commons.text.AlphabetConverter
-
Encode a given string.
- endsWith(String) - Method in class org.apache.commons.text.StrBuilder
-
Checks whether this builder ends with the specified string.
- ensureCapacity(int) - Method in class org.apache.commons.text.StrBuilder
-
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
-
- 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.LevenshteinResults
-
- equals(StrBuilder) - Method in class org.apache.commons.text.StrBuilder
-
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.StrBuilder
-
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
-
Checks the contents of this builder against another to see if they
contain the same character content ignoring case.
- escape(String) - Method in class org.apache.commons.text.StringEscapeUtils.Builder
-
- 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_HTML3_ONCE - Static variable in class org.apache.commons.text.StringEscapeUtils
-
The improved 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_HTML4_ONCE - Static variable in class org.apache.commons.text.StringEscapeUtils
-
The improved translator object for escaping HTML version 4.0.
- ESCAPE_JAVA - Static variable in class org.apache.commons.text.StringEscapeUtils
-
Translator object for escaping Java.
- ESCAPE_JSON - Static variable in class org.apache.commons.text.StringEscapeUtils
-
Translator object for escaping Json.
- ESCAPE_XML10 - Static variable in class org.apache.commons.text.StringEscapeUtils
-
Translator object for escaping XML 1.0.
- ESCAPE_XML11 - Static variable in class org.apache.commons.text.StringEscapeUtils
-
Translator object for escaping XML 1.1.
- ESCAPE_XSI - Static variable in class org.apache.commons.text.StringEscapeUtils
-
Translator object for escaping Shell command language.
- escapeCsv(String) - Static method in class org.apache.commons.text.StringEscapeUtils
-
Returns a String
value for a CSV column enclosed in double quotes,
if required.
- escapeEcmaScript(String) - Static method in class org.apache.commons.text.StringEscapeUtils
-
Escapes the characters in a String
using EcmaScript String rules.
- escapeHtml3(String) - Static method in class org.apache.commons.text.StringEscapeUtils
-
Escapes the characters in a String
using HTML entities.
- escapeHtml3Once(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.
- escapeHtml4Once(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, Map<String, ? extends FormatFactory>) - Constructor for class org.apache.commons.text.ExtendedMessageFormat
-
Create a new ExtendedMessageFormat for the default locale.
- ExtendedMessageFormat(String, Locale, Map<String, ? extends FormatFactory>) - Constructor for class org.apache.commons.text.ExtendedMessageFormat
-
Create a new ExtendedMessageFormat.
- getChars(char[]) - Method in class org.apache.commons.text.StrBuilder
-
Copies the character array into the specified array.
- getChars(int, int, char[], int) - Method in class org.apache.commons.text.StrBuilder
-
Copies the character array into the specified array.
- getContent() - Method in class org.apache.commons.text.StrTokenizer
-
Gets the String content that the tokenizer is parsing.
- getCSVInstance() - Static method in class org.apache.commons.text.StrTokenizer
-
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
-
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
-
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.StrTokenizer
-
Gets the field delimiter matcher.
- getDistance() - Method in class org.apache.commons.text.similarity.LevenshteinResults
-
Get the distance between two character sequences.
- getEditDistance() - Method in class org.apache.commons.text.similarity.EditDistanceFrom
-
Gets the edit distance.
- getEncodedCharLength() - Method in class org.apache.commons.text.AlphabetConverter
-
Get the length of characters in the encoded alphabet that are necessary for each character in the original
alphabet.
- getEscapeChar() - Method in class org.apache.commons.text.StrSubstitutor
-
Returns the escape character.
- getFormat(String, String, Locale) - Method in interface org.apache.commons.text.FormatFactory
-
Create or retrieve a format instance.
- getFormatter() - Method in class org.apache.commons.text.CompositeFormat
-
Provides access to the parser Format implementation.
- getIgnoredMatcher() - Method in class org.apache.commons.text.StrTokenizer
-
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.
- getLCSLength() - Method in class org.apache.commons.text.diff.EditScript
-
Get the length of the Longest Common Subsequence (LCS).
- getLeft() - Method in class org.apache.commons.text.similarity.EditDistanceFrom
-
Gets the left parameter.
- getLeft() - Method in class org.apache.commons.text.similarity.SimilarityScoreFrom
-
Gets the left parameter.
- getLocale() - Method in class org.apache.commons.text.similarity.FuzzyScore
-
Gets the locale.
- getModifications() - Method in class org.apache.commons.text.diff.EditScript
-
Get the number of effective modifications.
- getNewLineText() - Method in class org.apache.commons.text.StrBuilder
-
Gets the text to be appended when a new line is added.
- getNullText() - Method in class org.apache.commons.text.StrBuilder
-
Gets the text to be appended when null is added.
- getObject() - Method in class org.apache.commons.text.diff.EditCommand
-
Returns the object associated with this command.
- getOriginalToEncoded() - Method in class org.apache.commons.text.AlphabetConverter
-
Get the mapping from integer code point of source language to encoded string.
- getParser() - Method in class org.apache.commons.text.CompositeFormat
-
Provides access to the parser Format implementation.
- getQuoteMatcher() - Method in class org.apache.commons.text.StrTokenizer
-
Gets the quote matcher currently in use.
- getScript() - Method in class org.apache.commons.text.diff.StringsComparator
-
- getSimilarityScore() - Method in class org.apache.commons.text.similarity.SimilarityScoreFrom
-
Gets the edit distance.
- getSubstituteCount() - Method in class org.apache.commons.text.similarity.LevenshteinResults
-
Get the number of character substitution needed to change one character sequence into another.
- getThreshold() - Method in class org.apache.commons.text.similarity.LevenshteinDetailedDistance
-
Gets the distance threshold.
- getThreshold() - Method in class org.apache.commons.text.similarity.LevenshteinDistance
-
Gets the distance threshold.
- getTokenArray() - Method in class org.apache.commons.text.StrTokenizer
-
Gets a copy of the full token list as an independent modifiable array.
- getTokenList() - Method in class org.apache.commons.text.StrTokenizer
-
Gets a copy of the full token list as an independent modifiable list.
- getTrimmerMatcher() - Method in class org.apache.commons.text.StrTokenizer
-
Gets the trimmer character matcher.
- getTSVInstance() - Static method in class org.apache.commons.text.StrTokenizer
-
Gets a new tokenizer instance which parses Tab Separated Value strings.
- getTSVInstance(String) - Static method in class org.apache.commons.text.StrTokenizer
-
Gets a new tokenizer instance which parses Tab Separated Value strings.
- getTSVInstance(char[]) - Static method in class org.apache.commons.text.StrTokenizer
-
Gets a new tokenizer instance which parses Tab Separated Value strings.
- getValueDelimiterMatcher() - Method in class org.apache.commons.text.StrSubstitutor
-
Gets the variable default value delimiter matcher currently in use.
- getVariablePrefixMatcher() - Method in class org.apache.commons.text.StrSubstitutor
-
Gets the variable prefix matcher currently in use.
- getVariableResolver() - Method in class org.apache.commons.text.StrSubstitutor
-
Gets the VariableResolver that is used to lookup variables.
- getVariableSuffixMatcher() - Method in class org.apache.commons.text.StrSubstitutor
-
Gets the variable suffix matcher currently in use.
- INDEX_NOT_FOUND - Static variable in class org.apache.commons.text.similarity.JaroWinklerDistance
-
Represents a failed index search.
- indexOf(char) - Method in class org.apache.commons.text.StrBuilder
-
Searches the string builder to find the first reference to the specified char.
- indexOf(char, int) - Method in class org.apache.commons.text.StrBuilder
-
Searches the string builder to find the first reference to the specified char.
- indexOf(String) - Method in class org.apache.commons.text.StrBuilder
-
Searches the string builder to find the first reference to the specified string.
- indexOf(String, int) - Method in class org.apache.commons.text.StrBuilder
-
Searches the string builder to find the first reference to the specified
string starting searching from the given index.
- indexOf(StrMatcher) - Method in class org.apache.commons.text.StrBuilder
-
Searches the string builder using the matcher to find the first match.
- indexOf(StrMatcher, int) - Method in class org.apache.commons.text.StrBuilder
-
Searches the string builder using the matcher to find the first
match searching from the given index.
- insert(int, Object) - Method in class org.apache.commons.text.StrBuilder
-
Inserts the string representation of an object into this builder.
- insert(int, String) - Method in class org.apache.commons.text.StrBuilder
-
Inserts the string into this builder.
- insert(int, char[]) - Method in class org.apache.commons.text.StrBuilder
-
Inserts the character array into this builder.
- insert(int, char[], int, int) - Method in class org.apache.commons.text.StrBuilder
-
Inserts part of the character array into this builder.
- insert(int, boolean) - Method in class org.apache.commons.text.StrBuilder
-
Inserts the value into this builder.
- insert(int, char) - Method in class org.apache.commons.text.StrBuilder
-
Inserts the value into this builder.
- insert(int, int) - Method in class org.apache.commons.text.StrBuilder
-
Inserts the value into this builder.
- insert(int, long) - Method in class org.apache.commons.text.StrBuilder
-
Inserts the value into this builder.
- insert(int, float) - Method in class org.apache.commons.text.StrBuilder
-
Inserts the value into this builder.
- insert(int, double) - Method in class org.apache.commons.text.StrBuilder
-
Inserts the value 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.
- invert(String[][]) - Static method in class org.apache.commons.text.translate.EntityArrays
-
Used to invert an escape array into an unescape array
- isEmpty() - Method in class org.apache.commons.text.StrBuilder
-
Checks is the string builder is empty (convenience Collections API style method).
- isEmptyTokenAsNull() - Method in class org.apache.commons.text.StrTokenizer
-
Gets whether the tokenizer currently returns empty tokens as null.
- isEnableSubstitutionInVariables() - Method in class org.apache.commons.text.StrSubstitutor
-
Returns a flag whether substitution is done in variable names.
- isIgnoreEmptyTokens() - Method in class org.apache.commons.text.StrTokenizer
-
Gets whether the tokenizer currently ignores empty tokens.
- isMatch(char[], int, int, int) - Method in class org.apache.commons.text.StrMatcher
-
Returns the number of matching characters, zero for no match.
- isMatch(char[], int) - Method in class org.apache.commons.text.StrMatcher
-
Returns the number of matching characters, zero for no match.
- ISO8859_1_ESCAPE() - Static method in class org.apache.commons.text.translate.EntityArrays
-
Mapping to escape
ISO-8859-1
characters to their named HTML 3.x equivalents.
- ISO8859_1_UNESCAPE() - Static method in class org.apache.commons.text.translate.EntityArrays
-
- isPreserveEscapes() - Method in class org.apache.commons.text.StrSubstitutor
-
Returns the flag controlling whether escapes are preserved during
substitution.
- isSet(NumericEntityUnescaper.OPTION) - Method in class org.apache.commons.text.translate.NumericEntityUnescaper
-
Whether the passed in option is currently set.
- lastIndexOf(char) - Method in class org.apache.commons.text.StrBuilder
-
Searches the string builder to find the last reference to the specified char.
- lastIndexOf(char, int) - Method in class org.apache.commons.text.StrBuilder
-
Searches the string builder to find the last reference to the specified char.
- lastIndexOf(String) - Method in class org.apache.commons.text.StrBuilder
-
Searches the string builder to find the last reference to the specified string.
- lastIndexOf(String, int) - Method in class org.apache.commons.text.StrBuilder
-
Searches the string builder to find the last reference to the specified
string starting searching from the given index.
- lastIndexOf(StrMatcher) - Method in class org.apache.commons.text.StrBuilder
-
Searches the string builder using the matcher to find the last match.
- lastIndexOf(StrMatcher, int) - Method in class org.apache.commons.text.StrBuilder
-
Searches the string builder using the matcher to find the last
match searching from the given index.
- leftString(int) - Method in class org.apache.commons.text.StrBuilder
-
Extracts the leftmost characters from the string builder without
throwing an exception.
- length() - Method in class org.apache.commons.text.StrBuilder
-
Gets the length of the string builder.
- 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.
- logestCommonSubsequence(CharSequence, CharSequence) - Method in class org.apache.commons.text.similarity.LongestCommonSubsequence
-
Computes the longestCommonSubsequence between the two CharSequence
's passed as
input.
- LongestCommonSubsequence - Class in org.apache.commons.text.similarity
-
A similarity algorithm indicating the length of the longest common subsequence between two strings.
- LongestCommonSubsequence() - Constructor for class org.apache.commons.text.similarity.LongestCommonSubsequence
-
- LongestCommonSubsequenceDistance - Class in org.apache.commons.text.similarity
-
An edit distance algorithm based on the length of the longest common subsequence between two strings.
- LongestCommonSubsequenceDistance() - Constructor for class org.apache.commons.text.similarity.LongestCommonSubsequenceDistance
-
- longestCommonSubstringLengthArray(CharSequence, CharSequence) - Method in class org.apache.commons.text.similarity.LongestCommonSubsequence
-
Computes the lcsLengthArray for the sake of doing the actual lcs calculation.
- lookup(String) - Method in class org.apache.commons.text.StrLookup
-
Looks up a String key to a String value.
- LookupTranslator - Class in org.apache.commons.text.translate
-
Translates a value using a lookup table.
- LookupTranslator(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 key to the lookup table is converted to a
java.lang.String.
- readFrom(Readable) - Method in class org.apache.commons.text.StrBuilder
-
If possible, reads chars from the provided
Readable
directly into underlying
character buffer without making extra copies.
- reformat(String) - Method in class org.apache.commons.text.CompositeFormat
-
Utility method to parse and then reformat a String.
- remove() - Method in class org.apache.commons.text.StrTokenizer
-
Unsupported ListIterator operation.
- replace(int, int, String) - Method in class org.apache.commons.text.StrBuilder
-
Replaces a portion of the string builder with another string.
- replace(StrMatcher, String, int, int, int) - Method in class org.apache.commons.text.StrBuilder
-
Advanced search and replaces within the builder using a matcher.
- replace(Object, Map<String, V>) - Static method in class org.apache.commons.text.StrSubstitutor
-
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
-
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.StrSubstitutor
-
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.StrSubstitutor
-
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
-
Replaces all the occurrences of variables with their matching values
from the resolver using the given source string as a template.
- replace(char[]) - Method in class org.apache.commons.text.StrSubstitutor
-
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
-
Replaces all the occurrences of variables with their matching values
from the resolver using the given source array as a template.
- replace(StringBuffer) - Method in class org.apache.commons.text.StrSubstitutor
-
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
-
Replaces all the occurrences of variables with their matching values
from the resolver using the given source buffer as a template.
- replace(CharSequence) - Method in class org.apache.commons.text.StrSubstitutor
-
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
-
Replaces all the occurrences of variables with their matching values
from the resolver using the given source as a template.
- replace(StrBuilder) - Method in class org.apache.commons.text.StrSubstitutor
-
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
-
Replaces all the occurrences of variables with their matching values
from the resolver using the given source builder as a template.
- replace(Object) - Method in class org.apache.commons.text.StrSubstitutor
-
Replaces all the occurrences of variables in the given source object with
their matching values from the resolver.
- replaceAll(char, char) - Method in class org.apache.commons.text.StrBuilder
-
Replaces the search character with the replace character
throughout the builder.
- replaceAll(String, String) - Method in class org.apache.commons.text.StrBuilder
-
Replaces the search string with the replace string throughout the builder.
- replaceAll(StrMatcher, String) - Method in class org.apache.commons.text.StrBuilder
-
Replaces all matches within the builder with the replace string.
- replaceFirst(char, char) - Method in class org.apache.commons.text.StrBuilder
-
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
-
Replaces the first instance of the search string with the replace string.
- replaceFirst(StrMatcher, String) - Method in class org.apache.commons.text.StrBuilder
-
Replaces the first match within the builder with the replace string.
- replaceIn(StringBuffer) - Method in class org.apache.commons.text.StrSubstitutor
-
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
-
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
-
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.StrSubstitutor
-
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
-
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
-
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.StrSubstitutor
-
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.StrTokenizer
-
Resets this tokenizer, forgetting all parsing and iteration already completed.
- reset(String) - Method in class org.apache.commons.text.StrTokenizer
-
Reset this tokenizer, giving it a new input string to parse.
- reset(char[]) - Method in class org.apache.commons.text.StrTokenizer
-
Reset this tokenizer, giving it a new input string to parse.
- resolveVariable(String, StrBuilder, int, int) - Method in class org.apache.commons.text.StrSubstitutor
-
Internal method that resolves the value of a variable.
- reverse() - Method in class org.apache.commons.text.StrBuilder
-
Reverses the string builder placing each character in the opposite index.
- rightString(int) - Method in class org.apache.commons.text.StrBuilder
-
Extracts the rightmost characters from the string builder without
throwing an exception.
- set(String) - Method in class org.apache.commons.text.StrTokenizer
-
Unsupported ListIterator operation.
- setCharAt(int, char) - Method in class org.apache.commons.text.StrBuilder
-
Sets the character at the specified index.
- setDelimiterChar(char) - Method in class org.apache.commons.text.StrTokenizer
-
Sets the field delimiter character.
- setDelimiterMatcher(StrMatcher) - Method in class org.apache.commons.text.StrTokenizer
-
Sets the field delimiter matcher.
- setDelimiterString(String) - Method in class org.apache.commons.text.StrTokenizer
-
Sets the field delimiter string.
- setEmptyTokenAsNull(boolean) - Method in class org.apache.commons.text.StrTokenizer
-
Sets whether the tokenizer should return empty tokens as null.
- setEnableSubstitutionInVariables(boolean) - Method in class org.apache.commons.text.StrSubstitutor
-
Sets a flag whether substitution is done in variable names.
- setEscapeChar(char) - Method in class org.apache.commons.text.StrSubstitutor
-
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.StrTokenizer
-
Set the character to ignore.
- setIgnoredMatcher(StrMatcher) - Method in class org.apache.commons.text.StrTokenizer
-
Set the matcher for characters to ignore.
- setIgnoreEmptyTokens(boolean) - Method in class org.apache.commons.text.StrTokenizer
-
Sets whether the tokenizer should ignore and not return empty tokens.
- setLength(int) - Method in class org.apache.commons.text.StrBuilder
-
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
-
Sets the text to be appended when a new line is added.
- setNullText(String) - Method in class org.apache.commons.text.StrBuilder
-
Sets the text to be appended when null is added.
- setPreserveEscapes(boolean) - Method in class org.apache.commons.text.StrSubstitutor
-
Sets a flag controlling whether escapes are preserved during
substitution.
- setQuoteChar(char) - Method in class org.apache.commons.text.StrTokenizer
-
Sets the quote character to use.
- setQuoteMatcher(StrMatcher) - Method in class org.apache.commons.text.StrTokenizer
-
Set the quote matcher to use.
- setTrimmerMatcher(StrMatcher) - Method in class org.apache.commons.text.StrTokenizer
-
Sets the matcher for characters to trim.
- setValueDelimiter(char) - Method in class org.apache.commons.text.StrSubstitutor
-
Sets the variable default value delimiter to use.
- setValueDelimiter(String) - Method in class org.apache.commons.text.StrSubstitutor
-
Sets the variable default value delimiter to use.
- setValueDelimiterMatcher(StrMatcher) - Method in class org.apache.commons.text.StrSubstitutor
-
Sets the variable default value delimiter matcher to use.
- setVariablePrefix(char) - Method in class org.apache.commons.text.StrSubstitutor
-
Sets the variable prefix to use.
- setVariablePrefix(String) - Method in class org.apache.commons.text.StrSubstitutor
-
Sets the variable prefix to use.
- setVariablePrefixMatcher(StrMatcher) - Method in class org.apache.commons.text.StrSubstitutor
-
Sets the variable prefix matcher currently in use.
- setVariableResolver(StrLookup<?>) - Method in class org.apache.commons.text.StrSubstitutor
-
Sets the VariableResolver that is used to lookup variables.
- setVariableSuffix(char) - Method in class org.apache.commons.text.StrSubstitutor
-
Sets the variable suffix to use.
- setVariableSuffix(String) - Method in class org.apache.commons.text.StrSubstitutor
-
Sets the variable suffix to use.
- setVariableSuffixMatcher(StrMatcher) - Method in class org.apache.commons.text.StrSubstitutor
-
Sets the variable suffix matcher currently in use.
- SimilarityScore<R> - Interface in org.apache.commons.text.similarity
-
Interface for the concept of a string similarity score.
- SimilarityScoreFrom<R> - Class in org.apache.commons.text.similarity
-
- SimilarityScoreFrom(SimilarityScore<R>, CharSequence) - Constructor for class org.apache.commons.text.similarity.SimilarityScoreFrom
-
This accepts the similarity score implementation and the "left" string.
- SingleLookupTranslator - Class in org.apache.commons.text.translate
-
Translates a value using a lookup table.
- SingleLookupTranslator(String[][]...) - Constructor for class org.apache.commons.text.translate.SingleLookupTranslator
-
Define the look tables to be used in translation.
- singleQuoteMatcher() - Static method in class org.apache.commons.text.StrMatcher
-
Returns a matcher which matches the single quote character.
- size - Variable in class org.apache.commons.text.StrBuilder
-
Current size of the buffer.
- size() - Method in class org.apache.commons.text.StrBuilder
-
Gets the length of the string builder.
- size() - Method in class org.apache.commons.text.StrTokenizer
-
Gets the number of tokens found in the String.
- spaceMatcher() - Static method in class org.apache.commons.text.StrMatcher
-
Returns a matcher which matches the space character.
- splitMatcher() - Static method in class org.apache.commons.text.StrMatcher
-
Matches the same characters as StringTokenizer,
namely space, tab, newline and formfeed.
- startsWith(String) - Method in class org.apache.commons.text.StrBuilder
-
Checks whether this builder starts with the specified string.
- StrBuilder - Class in org.apache.commons.text
-
Builds a string from constituent parts providing a more flexible and powerful API
than StringBuffer.
- StrBuilder() - Constructor for class org.apache.commons.text.StrBuilder
-
Constructor that creates an empty builder initial capacity 32 characters.
- StrBuilder(int) - Constructor for class org.apache.commons.text.StrBuilder
-
Constructor that creates an empty builder the specified initial capacity.
- StrBuilder(String) - Constructor for class org.apache.commons.text.StrBuilder
-
Constructor that creates a builder from the string, allocating
32 extra characters for growth.
- StringEscapeUtils - Class in org.apache.commons.text
-
Escapes and unescapes String
s for
Java, Java Script, HTML and XML.
- StringEscapeUtils() - Constructor for class org.apache.commons.text.StringEscapeUtils
-
StringEscapeUtils
instances should NOT be constructed in
standard programming.
- StringEscapeUtils.Builder - Class in org.apache.commons.text
-
- stringMatcher(String) - Static method in class org.apache.commons.text.StrMatcher
-
Constructor that creates a matcher from a string.
- StringsComparator - Class in org.apache.commons.text.diff
-
It is guaranteed that the comparisons will always be done as
o1.equals(o2)
where o1
belongs to the first
sequence and o2
belongs to the second sequence.
- StringsComparator(String, String) - Constructor for class org.apache.commons.text.diff.StringsComparator
-
Simple constructor.
- StrLookup<V> - Class in org.apache.commons.text
-
Lookup a String key to a String value.
- StrLookup() - Constructor for class org.apache.commons.text.StrLookup
-
Constructor.
- StrMatcher - Class in org.apache.commons.text
-
A matcher class that can be queried to determine if a character array
portion matches.
- StrMatcher() - Constructor for class org.apache.commons.text.StrMatcher
-
Constructor.
- StrSubstitutor - Class in org.apache.commons.text
-
Substitutes variables within a string by values.
- StrSubstitutor() - Constructor for class org.apache.commons.text.StrSubstitutor
-
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
-
Creates a new instance and initializes it.
- StrSubstitutor(Map<String, V>, String, String) - Constructor for class org.apache.commons.text.StrSubstitutor
-
Creates a new instance and initializes it.
- StrSubstitutor(Map<String, V>, String, String, char) - Constructor for class org.apache.commons.text.StrSubstitutor
-
Creates a new instance and initializes it.
- StrSubstitutor(Map<String, V>, String, String, char, String) - Constructor for class org.apache.commons.text.StrSubstitutor
-
Creates a new instance and initializes it.
- StrSubstitutor(StrLookup<?>) - Constructor for class org.apache.commons.text.StrSubstitutor
-
Creates a new instance and initializes it.
- StrSubstitutor(StrLookup<?>, String, String, char) - Constructor for class org.apache.commons.text.StrSubstitutor
-
Creates a new instance and initializes it.
- StrSubstitutor(StrLookup<?>, String, String, char, String) - Constructor for class org.apache.commons.text.StrSubstitutor
-
Creates a new instance and initializes it.
- StrSubstitutor(StrLookup<?>, StrMatcher, StrMatcher, char) - Constructor for class org.apache.commons.text.StrSubstitutor
-
Creates a new instance and initializes it.
- StrSubstitutor(StrLookup<?>, StrMatcher, StrMatcher, char, StrMatcher) - Constructor for class org.apache.commons.text.StrSubstitutor
-
Creates a new instance and initializes it.
- StrTokenizer - Class in org.apache.commons.text
-
Tokenizes a string based based on delimiters (separators)
and supporting quoting and ignored character concepts.
- StrTokenizer() - Constructor for class org.apache.commons.text.StrTokenizer
-
Constructs a tokenizer splitting on space, tab, newline and formfeed
as per StringTokenizer, but with no text to tokenize.
- StrTokenizer(String) - Constructor for class org.apache.commons.text.StrTokenizer
-
Constructs a tokenizer splitting on space, tab, newline and formfeed
as per StringTokenizer.
- StrTokenizer(String, char) - Constructor for class org.apache.commons.text.StrTokenizer
-
Constructs a tokenizer splitting on the specified delimiter character.
- StrTokenizer(String, String) - Constructor for class org.apache.commons.text.StrTokenizer
-
Constructs a tokenizer splitting on the specified delimiter string.
- StrTokenizer(String, StrMatcher) - Constructor for class org.apache.commons.text.StrTokenizer
-
Constructs a tokenizer splitting using the specified delimiter matcher.
- StrTokenizer(String, char, char) - Constructor for class org.apache.commons.text.StrTokenizer
-
Constructs a tokenizer splitting on the specified delimiter character
and handling quotes using the specified quote character.
- StrTokenizer(String, StrMatcher, StrMatcher) - Constructor for class org.apache.commons.text.StrTokenizer
-
Constructs a tokenizer splitting using the specified delimiter matcher
and handling quotes using the specified quote matcher.
- StrTokenizer(char[]) - Constructor for class org.apache.commons.text.StrTokenizer
-
Constructs a tokenizer splitting on space, tab, newline and formfeed
as per StringTokenizer.
- StrTokenizer(char[], char) - Constructor for class org.apache.commons.text.StrTokenizer
-
Constructs a tokenizer splitting on the specified character.
- StrTokenizer(char[], String) - Constructor for class org.apache.commons.text.StrTokenizer
-
Constructs a tokenizer splitting on the specified string.
- StrTokenizer(char[], StrMatcher) - Constructor for class org.apache.commons.text.StrTokenizer
-
Constructs a tokenizer splitting using the specified delimiter matcher.
- StrTokenizer(char[], char, char) - Constructor for class org.apache.commons.text.StrTokenizer
-
Constructs a tokenizer splitting on the specified delimiter character
and handling quotes using the specified quote character.
- StrTokenizer(char[], StrMatcher, StrMatcher) - Constructor for class org.apache.commons.text.StrTokenizer
-
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
- substitute(StrBuilder, int, int) - Method in class org.apache.commons.text.StrSubstitutor
-
Internal method that substitutes the variables.
- substring(int) - Method in class org.apache.commons.text.StrBuilder
-
Extracts a portion of this string builder as a string.
- substring(int, int) - Method in class org.apache.commons.text.StrBuilder
-
Extracts a portion of this string builder as a string.
- systemPropertiesLookup() - Static method in class org.apache.commons.text.StrLookup
-
- tabMatcher() - Static method in class org.apache.commons.text.StrMatcher
-
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.
- toCharArray() - Method in class org.apache.commons.text.StrBuilder
-
Copies the builder's character array into a new character array.
- toCharArray(int, int) - Method in class org.apache.commons.text.StrBuilder
-
Copies part of the builder's character array into a new character array.
- tokenize(char[], int, int) - Method in class org.apache.commons.text.StrTokenizer
-
Internal method to performs the tokenization.
- toPattern() - Method in class org.apache.commons.text.ExtendedMessageFormat
- toString() - Method in class org.apache.commons.text.AlphabetConverter
-
- toString(Formattable) - Static method in class org.apache.commons.text.FormattableUtils
-
Get the default formatted representation of the specified
Formattable
.
- toString() - Method in class org.apache.commons.text.similarity.LevenshteinResults
-
- toString() - Method in class org.apache.commons.text.StrBuilder
-
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.StrTokenizer
-
Gets the String content that the tokenizer is parsing.
- toStringBuffer() - Method in class org.apache.commons.text.StrBuilder
-
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
-
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(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) - Method in class org.apache.commons.text.translate.CharSequenceTranslator
-
Helper for non-Writer usage.
- translate(CharSequence, Writer) - Method in class org.apache.commons.text.translate.CharSequenceTranslator
-
Translate an input onto a Writer.
- 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(int, Writer) - Method in class org.apache.commons.text.translate.CodePointTranslator
-
Translate the specified codepoint into another.
- 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(int, Writer) - Method in class org.apache.commons.text.translate.NumericEntityEscaper
-
Translate the specified codepoint into another.
- 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.SingleLookupTranslator
-
Translate a set of codepoints, represented by an int index into a CharSequence,
into another set of codepoints.
- translate(int, Writer) - Method in class org.apache.commons.text.translate.UnicodeEscaper
-
Translate the specified codepoint into another.
- 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(int, Writer) - Method in class org.apache.commons.text.translate.UnicodeUnpairedSurrogateRemover
-
Implementation of translate that throws out unpaired surrogates.
- trim() - Method in class org.apache.commons.text.StrBuilder
-
Trims the builder by removing characters less than or equal to a space
from the beginning and end.
- trimMatcher() - Static method in class org.apache.commons.text.StrMatcher
-
Matches the String trim() whitespace characters.
- 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
-
- 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
-