Package org.apache.commons.text
package org.apache.commons.text
Basic classes for text handling.
- Since:
- 1.0
-
ClassDescriptionConvert from one alphabet to another, with the possibility of leaving certain characters unencoded.Builder<T>The Builder interface is designed to designate a class as a builder object in the Builder design pattern.Case manipulation operations on Strings that contain words.A predicate for selecting code points.Commonly used implementations of
CharacterPredicate
.Formats using one formatter and parses using a different formatter.Extendsjava.text.MessageFormat
to allow pluggable/additional formatting options for embedded format elements.Format factory.Provides utilities for working with theFormattable
interface.Generates random Unicode strings containing the specified number of code points.A builder for generatingRandomStringGenerator
instances.Deprecated.Escapes and unescapesString
s for Java, Java Script, HTML and XML.Convenience wrapper forStringBuilder
providing escape methods.Substitutes variables within a string by values.Tokenizes a string based on delimiters (separators) and supporting quoting and ignored character concepts.StrLookup<V>Deprecated.Deprecated as of 1.3, useStringLookupFactory
instead.Deprecated.Deprecated as of 1.3, useStringMatcherFactory
instead.Deprecated.Deprecated as of 1.3, useStringSubstitutor
instead.Deprecated.Deprecated as of 1.3, useStringTokenizer
instead.TextRandomProvider implementations are used byRandomStringGenerator
as a source of randomness.Builds a string from constituent parts providing a more flexible and powerful API thanStringBuffer
andStringBuilder
.Operations on Strings that contain words.
TextStringBuilder
instead.