Serializable
, Cloneable
Nested Classes
static class
Defines constants that are used as attribute keys in the AttributedCharacterIterator
returned from MessageFormat.formatToCharacterIterator
.
Constructors
Constructs a MessageFormat for the default
FORMAT
locale and the specified pattern.
Constructs a MessageFormat for the specified locale and pattern.
void
Sets the pattern used by this message format.
Creates and returns a copy of this object.
boolean
Compares the specified object with this MessageFormat
for equality.
Formats an array of objects and appends the MessageFormat
's pattern, with format elements replaced by the formatted objects, to the provided StringBuffer
.
Formats an array of objects and appends the MessageFormat
's pattern, with format elements replaced by the formatted objects, to the provided StringBuffer
.
Creates a MessageFormat with the given pattern and uses it to format the given arguments.
Formats an array of objects and inserts them into the MessageFormat
's pattern, producing an AttributedCharacterIterator
.
Gets the formats used for the format elements in the previously set pattern string.
Gets the formats used for the values passed into format
methods or returned from parse
methods.
Gets the locale that's used when creating or comparing subformats.
int
Returns the hash code value for this MessageFormat
.
Parses text from the beginning of the given string to produce an object array.
Parses text from a string to produce an object array.
void
Sets the format to use for the format element with the given format element index within the previously set pattern string.
void
Sets the format to use for the format elements within the previously set pattern string that use the given argument index.
void
Sets the formats to use for the format elements in the previously set pattern string.
void
Sets the formats to use for the values passed into format
methods or returned from parse
methods.
void
Sets the locale to be used when creating or comparing subformats.
Returns a String pattern adhering to the
patterns section
that represents the current state of this
MessageFormat
.
Returns a string identifying this MessageFormat
, for debugging.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4