|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.rowa.posps.client.I18N
public class I18N
Internationalization helper, which loads localized resources from the messages properties bundle.
Method Summary | |
---|---|
static java.util.Locale |
getLocale()
Returns the locale active for this session. |
static java.lang.String |
getString(java.lang.String key,
java.lang.Object... params)
Looks up the given key in the resource bundle and returns its associated message in the configured language. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.String getString(java.lang.String key, java.lang.Object... params)
key
- Key to look up in the resource bundle.params
- If not null
, the message found in the resource
bundle will be interpreted as a format string for
java.text.MessageFormat
and the params will be passed
to MessageFormat.format
.public static java.util.Locale getLocale()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |