On this page

org.apache.commons.lang3.text

Deprecated: 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 org.apache.commons.lang3.text.StrBuilder, a class for substituting variables within a String named org.apache.commons.lang3.text.StrSubstitutor and a replacement for java.util.StringTokenizer named org.apache.commons.lang3.text.StrTokenizer. While somewhat ungainly, the Str prefix has been used to ensure we don’t clash with any current or future standard Java classes.

Deprecated: As of 3.6, use the Apache Commons Text text package.

Since:

2.1

Interfaces

FormatFactory

Deprecated. Format factory.

Classes

CompositeFormat

Deprecated. Formats using one formatter and parses using a different formatter.

ExtendedMessageFormat

Deprecated. Extends java.text.MessageFormat to allow pluggable/additional formatting options for embedded format elements.

FormattableUtils

Deprecated. Provides utilities for working with the Formattable interface.

StrBuilder

Deprecated. Builds a string from constituent parts providing a more flexible and powerful API than StringBuffer.

StrLookup

Deprecated. Lookup a String key to a String value.

StrMatcher

Deprecated. A matcher class that can be queried to determine if a character array portion matches.

StrSubstitutor

Deprecated. Substitutes variables within a string by values.

StrTokenizer

Deprecated. Tokenizes a string based on delimiters (separators) and supporting quoting and ignored character concepts.

WordUtils

Deprecated. Operations on Strings that contain words.