Top Deprecated By Reference
Apache Commons Text 1.15.0

Deprecated API


No API in this release is deprecated for removal.

Deprecated Item Summary

SinceDeprecated Item and Description
org.apache.commons.text.Builder<
the type of object that the builder will construct or compute.
T
>

Use Supplier.

Returns:

A new RandomStringGenerator
org.apache.commons.text.RandomStringGenerator.Builder.build
()

Use get().

org.apache.commons.text.StrBuilder

Deprecated as of 1.3, use TextStringBuilder instead. This class will be removed in 2.0.

Returns:

This instance as a String.
org.apache.commons.text.StrBuilder.build
()

Use get().

org.apache.commons.text.StrLookup<
the type of the values supported by the lookup
V
>

Deprecated as of 1.3, use StringLookupFactory instead. This class will be removed in 2.0.

org.apache.commons.text.StrMatcher

Deprecated as of 1.3, use StringMatcherFactory instead. This class will be removed in 2.0.

org.apache.commons.text.StrSubstitutor

Deprecated as of 1.3, use StringSubstitutor instead. This class will be removed in 2.0.

org.apache.commons.text.StrTokenizer

Deprecated as of 1.3, use StringTokenizer instead. This class will be removed in 2.0.

Returns:

a random int value between 0 (inclusive) and max (exclusive).
org.apache.commons.text.TextRandomProvider.nextInt
(int
Bound on the random number to be returned. Must be positive.
max
)

Use applyAsInt(int).

Returns:

This instance as a String.
org.apache.commons.text.TextStringBuilder.build
()

Use get().

Returns:

true if it is a delimiter.
org.apache.commons.text.WordUtils.isDelimiter
(final char
the character to check.
ch
,
final char[]
the delimiters.
delimiters
)

as of 1.2 and will be removed in 2.0.

Returns:

true if it is a delimiter.
org.apache.commons.text.WordUtils.isDelimiter
(final int
the codePint to check.
codePoint
,
final char[]
the delimiters.
delimiters
)

as of 1.2 and will be removed in 2.0.

Returns:

a new string.
org.apache.commons.text.lookup.AbstractStringLookup.substringAfter
(final String
The source string.
value
,
final char
The character to search.
ch
)

Use StringUtils#substringAfter(String, int).

Returns:

a new string.
org.apache.commons.text.lookup.AbstractStringLookup.substringAfter
(final String
The source string.
value
,
final String
The string to search.
str
)

Use StringUtils#substringAfter(String, String).

Returns:

a new string.
org.apache.commons.text.lookup.AbstractStringLookup.substringAfterLast
(final String
The source string.
value
,
final char
The character to search.
ch
)

Use StringUtils#substringAfterLast(String, int).

Returns:

The matching value, null if no match.
org.apache.commons.text.lookup.StringLookup.lookup
(String
the key to look up, may be null.
key
)

Use apply(String).

Returns:

The Base64DecoderStringLookup singleton instance.
org.apache.commons.text.lookup.StringLookupFactory.base64StringLookup
()

Use base64DecoderStringLookup().

org.apache.commons.text.similarity.JaroWinklerDistance.INDEX_NOT_FOUND

Deprecated as of 1.7. This constant will be removed in 2.0.

Returns:

array containing: matches, half transpositions, and prefix
org.apache.commons.text.similarity.JaroWinklerDistance.matches
(final CharSequence
the first string to be matched.
first
,
final CharSequence
the second string to be matched.
second
)

Deprecated as of 1.7, use JaroWinklerSimilarity#matches(CharSequence, CharSequence). This method will be removed in 2.0. TODO see TEXT-104.

Returns:

the longest common subsequence found.
org.apache.commons.text.similarity.LongestCommonSubsequence.logestCommonSubsequence
(final CharSequence
first character sequence.
left
,
final CharSequence
second character sequence.
right
)

Deprecated as of 1.2 due to a typo in the method name. Use longestCommonSubsequence(CharSequence, CharSequence) instead. This method will be removed in 2.0.

Returns:

longest common substring length array.
org.apache.commons.text.similarity.LongestCommonSubsequence.longestCommonSubstringLengthArray
(final CharSequence
first character sequence.
left
,
final CharSequence
second character sequence.
right
)

Deprecated as of 1.10. A more efficient implementation for calculating LCS is now available. Use longestCommonSubsequence(CharSequence, CharSequence) instead to directly calculate the LCS. This method will be removed in 2.0.