Package org.apache.commons.text
Basic classes for text handling.
- Since:
- 1.0
-
Interface Summary Interface Description Builder<T> The Builder interface is designed to designate a class as a builder object in the Builder design pattern.CharacterPredicate A predicate for selecting code points.FormatFactory Format factory.TextRandomProvider TextRandomProvider implementations are used byRandomStringGeneratoras a source of randomness. -
Class Summary Class Description AlphabetConverter Convert from one alphabet to another, with the possibility of leaving certain characters unencoded.CaseUtils Case manipulation operations on Strings that contain words.CompositeFormat Formats using one formatter and parses using a different formatter.ExtendedMessageFormat Extendsjava.text.MessageFormatto allow pluggable/additional formatting options for embedded format elements.FormattableUtils Provides utilities for working with theFormattableinterface.RandomStringGenerator Generates random Unicode strings containing the specified number of code points.RandomStringGenerator.Builder A builder for generatingRandomStringGeneratorinstances.StrBuilder Deprecated. Deprecated as of 1.3, useTextStringBuilderinstead.StringEscapeUtils Escapes and unescapesStrings for Java, Java Script, HTML and XML.StringEscapeUtils.Builder Convenience wrapper forStringBuilderproviding 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, useStringLookupFactoryinstead.StrMatcher Deprecated. Deprecated as of 1.3, useStringMatcherFactoryinstead.StrSubstitutor Deprecated. Deprecated as of 1.3, useStringSubstitutorinstead.StrTokenizer Deprecated. Deprecated as of 1.3, useStringTokenizerinstead.TextStringBuilder Builds a string from constituent parts providing a more flexible and powerful API than StringBuffer.WordUtils Operations on Strings that contain words. -
Enum Summary Enum Description CharacterPredicates Commonly used implementations ofCharacterPredicate.