|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gxml.i18n.MessageLocalizer
public final class MessageLocalizer
Utility class for obtaining a localized message given a ResourceBundleMessage
.
Constructor Summary | |
---|---|
MessageLocalizer()
|
Method Summary | |
---|---|
static java.lang.String |
getLocalizedMessage(ResourceBundleMessage msg,
java.util.Locale locale,
java.util.ResourceBundle messages)
Localizes a locale-independent message using the specified locale and a resource bundle. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MessageLocalizer()
Method Detail |
---|
public static java.lang.String getLocalizedMessage(ResourceBundleMessage msg, java.util.Locale locale, java.util.ResourceBundle messages)
msg
- The locale-independent message.locale
- The locale to use for pattern substitution and argument
formatting.messages
- The resource bundle.
String
representing the localized message.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |