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., a class for
substituting variables within a String named org. and a replacement for java.
named org.. 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.
| Modifier and Type | Interface and Description |
|---|---|
| public interface | FormatFactory
Deprecated
As of 3.6, use Apache Commons Text
FormatFactory.
Format factory.
|
| Modifier and Type | Class and Description |
|---|---|
| public class | CompositeFormat
Deprecated
As of 3.6, use Apache Commons Text
CompositeFormat.
Formats using one formatter and parses using a different formatter.
|
| public class | ExtendedMessageFormat
Deprecated
As of 3.6, use Apache Commons Text
ExtendedMessageFormat.
Extends java. to allow pluggable/additional formatting
options for embedded format elements.
|
| public class | FormattableUtils
Deprecated
As of 3.6, use Apache Commons Text
FormattableUtils.
Provides utilities for working with the Formattable interface.
|
| public class | StrBuilder
Deprecated
As of 3.6, use Apache Commons Text
TextStringBuilder.
Builds a string from constituent parts providing a more flexible and powerful API
than StringBuffer.
|
| public abstract class | StrLookup<
Unused. V>
Deprecated
As of 3.6, use Apache Commons Text
StringLookupFactory.
Lookup a String key to a String value.
|
| public abstract class | StrMatcher
Deprecated
As of 3.6, use Apache Commons Text
StringMatcherFactory.
A matcher class that can be queried to determine if a character array
portion matches.
|
| public class | StrSubstitutor
Deprecated
As of 3.6, use Apache Commons Text
StringSubstitutor.
Substitutes variables within a string by values.
|
| public class | StrTokenizer
Deprecated
As of 3.6, use Apache Commons Text
StringTokenizer.
Tokenizes a string based on delimiters (separators)
and supporting quoting and ignored character concepts.
|
| public class |