org.apache.xml.res
public class XMLMessages extends Object
UNKNOWN: internal
Method Summary | |
---|---|
static String | createMsg(ListResourceBundle fResourceBundle, String msgKey, Object[] args)
Creates a message from the specified key and replacement
arguments, localized to the given locale.
|
static String | createXMLMessage(String msgKey, Object[] args)
Creates a message from the specified key and replacement
arguments, localized to the given locale.
|
Locale | getLocale()
Get the Locale object that is being used.
|
static ListResourceBundle | loadResourceBundle(String className)
Return a named ResourceBundle for a particular locale. |
void | setLocale(Locale locale)
Set the Locale object to use.
|
Parameters: fResourceBundle The resource bundle to use. msgKey The message key to use. args The arguments to be used as replacement text in the message created.
Returns: The formatted message string.
Parameters: msgKey The key for the message text. args The arguments to be used as replacement text in the message created.
Returns: The formatted message string.
Returns: non-null reference to Locale object.
Parameters: className The class name of the resource bundle.
Returns: the ResourceBundle
Throws: MissingResourceException
Parameters: locale non-null reference to Locale object.