Package org.apache.commons.lang3.text
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
- Version:
- $Id: package-info.java 1559146 2014-01-17 15:23:19Z britter $
-
Interface Summary Interface Description FormatFactory Format factory. -
Class Summary Class Description CompositeFormat Formats using one formatter and parses using a different formatter.ExtendedMessageFormat Extendsjava.text.MessageFormat
to allow pluggable/additional formatting options for embedded format elements.FormattableUtils Provides utilities for working with theFormattable
interface.StrBuilder Builds a string from constituent parts providing a more flexible and powerful API than StringBuffer.StrLookup<V> Lookup a String key to a String value.StrMatcher A matcher class that can be queried to determine if a character array portion matches.StrSubstitutor Substitutes variables within a string by values.StrTokenizer Tokenizes a string based based on delimiters (separators) and supporting quoting and ignored character concepts.WordUtils Operations on Strings that contain words.