| Modifier and Type | Field and Description |
|---|---|
| protected static final String | BAD_CODE
String to use if a bad message code is used. |
| protected Locale | fLocale
The local object to use. |
| protected static final String | FORMAT_FAILED
String to use if the message format operation failed. |
| private static final String | XML_ERROR_RESOURCES
The class name of the XML error message string table. |
| private static ResourceBundle | XMLBundle
The language specific resource object for XML messages. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static final String | Returns: The formatted message string.The resource bundle to use. fResourceBundle, String The message key to use. msgKey, Object[] The arguments to be used as replacement text
in the message created. args)Creates a message from the specified key and replacement arguments, localized to the given locale. |
| public static final String | Returns: The formatted message string.The key for the message text. msgKey, Object[] The arguments to be used as replacement text
in the message created. args)Creates a message from the specified key and replacement arguments, localized to the given locale. |
| public Locale | |
| public void |
| BAD_CODE | back to summary |
|---|---|
| protected static final String BAD_CODE String to use if a bad message code is used. | |
| fLocale | back to summary |
|---|---|
| protected Locale fLocale The local object to use. | |
| FORMAT_FAILED | back to summary |
|---|---|
| protected static final String FORMAT_FAILED String to use if the message format operation failed. | |
| XML_ERROR_RESOURCES | back to summary |
|---|---|
| private static final String XML_ERROR_RESOURCES The class name of the XML error message string table. | |
| XMLBundle | back to summary |
|---|---|
| private static ResourceBundle XMLBundle The language specific resource object for XML messages. | |
| XMLMessages | back to summary |
|---|---|
| public XMLMessages() | |
| createMsg | back to summary |
|---|---|
| public static final String createMsg(ResourceBundle fResourceBundle, String msgKey, Object[] args) Creates a message from the specified key and replacement arguments, localized to the given locale.
| |
| createXMLMessage | back to summary |
|---|---|
| public static final String createXMLMessage(String msgKey, Object[] args) Creates a message from the specified key and replacement arguments, localized to the given locale. | |
| getLocale | back to summary |
|---|---|
| public Locale getLocale() Get the Locale object that is being used.
| |
| setLocale | back to summary |
|---|---|
| public void setLocale(Locale locale) Set the Locale object to use.
| |