# Package org.apache.commons.text

package org.apache.commons.text

Basic classes for text handling.

Since:
  1.0

- Related Packages
  Package
  Description
  org.apache.commons.text.diff
  Provides algorithms for diff between strings.
  org.apache.commons.text.io
  `StringSubstitutorReader` is a `Reader` that performs string substitution on a source `Reader` using a `StringSubstitutor`.
  org.apache.commons.text.lookup
  Provides algorithms for looking up strings for use with a `StringSubstitutor`.
  org.apache.commons.text.matcher
  Provides algorithms for matching up strings for use with a `StringSubstitutor`.
  org.apache.commons.text.numbers
  Provides algorithms for converting numbers to strings.
  org.apache.commons.text.similarity
  Provides algorithms for string similarity.
  org.apache.commons.text.translate
  An API for creating text translation routines from a set of smaller building blocks.
- Class
  Description
  AlphabetConverter
  Convert from one alphabet to another, with the possibility of leaving certain characters unencoded.
  Builder<T>
  Deprecated.
  Use :@link Supplier}.
  CaseUtils
  Case manipulation operations on Strings that contain words.
  CharacterPredicate
  A predicate for selecting code points.
  CharacterPredicates
  Commonly used implementations of `CharacterPredicate`.
  CompositeFormat
  Formats using one formatter and parses using a different formatter.
  ExtendedMessageFormat
  Extends `MessageFormat` to allow pluggable/additional formatting options for embedded format elements.
  FormatFactory
  Format factory.
  FormattableUtils
  Provides utilities for working with the `Formattable` interface.
  RandomStringGenerator
  Generates random Unicode strings containing the specified number of code points.
  RandomStringGenerator.Builder
  A builder for generating `RandomStringGenerator` instances.
  StrBuilder
  Deprecated.
  Deprecated as of 1.3, use `TextStringBuilder` instead.
  StringEscapeUtils
  Escapes and unescapes `String`s for Java, Java Script, HTML and XML.
  StringEscapeUtils.Builder
  Convenience wrapper for `StringBuilder` providing escape methods.
  StringSubstitutor
  Substitutes variables within a string by values.
  StringTokenizer
  Tokenizes a string based on delimiters (separators) and supporting quoting and ignored character concepts.
  StrLookup<V>
  Deprecated.
  Deprecated as of 1.3, use `StringLookupFactory` instead.
  StrMatcher
  Deprecated.
  Deprecated as of 1.3, use `StringMatcherFactory` instead.
  StrSubstitutor
  Deprecated.
  Deprecated as of 1.3, use `StringSubstitutor` instead.
  StrTokenizer
  Deprecated.
  Deprecated as of 1.3, use `StringTokenizer` instead.
  TextRandomProvider
  TextRandomProvider implementations are used by `RandomStringGenerator` as a source of randomness.
  TextStringBuilder
  Builds a string from constituent parts providing a more flexible and powerful API than `StringBuffer` and `StringBuilder`.
  WordUtils
  Operations on Strings that contain words.