Package org.apache.commons.lang3.text
package org.apache.commons.lang3.text
Deprecated.
As of 3.6, use the Apache Commons Text
text package.
Provides classes for handling and manipulating text, partly as an extension to
java.text
.
The classes in this package are, for the most part, intended to be instantiated (i.e. they are not utility classes
with lots of static methods).
Amongst other classes, the text package provides a replacement for StringBuffer
named StrBuilder
, a class for substituting variables within a String named StrSubstitutor
and a replacement for StringTokenizer
named StrTokenizer
.
While somewhat ungainly, the Str
prefix has been used to ensure we don't clash with any current or future standard Java classes.
- Since:
- 2.1
-
ClassDescriptionDeprecated.As of 3.6, use Apache Commons Text CompositeFormat insteadDeprecated.As of 3.6, use Apache Commons Text ExtendedMessageFormat insteadDeprecated.As of 3.6, use Apache Commons Text FormatFactory insteadDeprecated.As of 3.6, use Apache Commons Text FormattableUtils insteadDeprecated.As of 3.6, use Apache Commons Text TextStringBuilder insteadStrLookup<V>Deprecated.As of 3.6, use Apache Commons Text StringLookupFactory insteadLookup implementation that uses a Map.Lookup implementation based on system properties.Deprecated.As of 3.6, use Apache Commons Text StringMatcherFactory insteadClass used to define a character for matching purposes.Class used to define a set of characters for matching purposes.Class used to match no characters.Class used to define a set of characters for matching purposes.Class used to match whitespace as per trim().Deprecated.As of 3.6, use Apache Commons Text StringSubstitutor insteadDeprecated.As of 3.6, use Apache Commons Text StringTokenizer insteadDeprecated.As of 3.6, use Apache Commons Text WordUtils instead