Modifier and Type | Field and Description |
---|---|
public static final String | |
private static ResourceBundle | |
private static Locale | |
public static final String | |
private static ResourceBundle | |
public static final String | |
private static ResourceBundle |
Access | Constructor and Description |
---|---|
pack-priv |
Modifier and Type | Method and Description |
---|---|
public static String | Returns: the formatted message.domain from which error string is to come. domain, String The message key. key, Object[] The message replacement text arguments. The order
of the arguments must match that of the placeholders
in the actual message. arguments)Formats a message with the specified arguments using the given locale information. |
pack-priv static ResourceBundle | |
public static void | |
public static void |
DOM_DOMAIN | back to summary |
---|---|
public static final String DOM_DOMAIN |
domResourceBundle | back to summary |
---|---|
private static ResourceBundle domResourceBundle |
locale | back to summary |
---|---|
private static Locale locale |
SERIALIZER_DOMAIN | back to summary |
---|---|
public static final String SERIALIZER_DOMAIN |
serResourceBundle | back to summary |
---|---|
private static ResourceBundle serResourceBundle |
XML_DOMAIN | back to summary |
---|---|
public static final String XML_DOMAIN |
xmlResourceBundle | back to summary |
---|---|
private static ResourceBundle xmlResourceBundle |
DOMMessageFormatter | back to summary |
---|---|
pack-priv DOMMessageFormatter() |
formatMessage | back to summary |
---|---|
public static String formatMessage(String domain, String key, Object[] arguments) throws MissingResourceException Formats a message with the specified arguments using the given locale information.
|
getResourceBundle | back to summary |
---|---|
pack-priv static ResourceBundle getResourceBundle(String domain) |
init | back to summary |
---|---|
public static void init() Initialize Message Formatter. |
setLocale | back to summary |
---|---|
public static void setLocale(Locale dlocale) setLocale to be used by the formatter. |