|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.idms.io.LocaleMessage
public class LocaleMessage
Formats language independent messages.
| Constructor Summary | |
|---|---|
LocaleMessage(java.lang.String r)
Creates messages using the default Locale. |
|
LocaleMessage(java.lang.String r,
java.util.Locale l)
Creates messages using a specified Locale. |
|
| Method Summary | |
|---|---|
java.util.Locale |
getLocale()
Gets the Locale. |
java.lang.String |
getMessage(java.lang.String key)
Gets a message with no parameters. |
java.lang.String |
getMessage(java.lang.String key,
java.lang.Object obj)
Gets a message with a single parameter. |
java.lang.String |
getMessage(java.lang.String key,
java.lang.Object[] obj)
Gets a message with an array of parameters. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LocaleMessage(java.lang.String r)
r - resource bundle name.
public LocaleMessage(java.lang.String r,
java.util.Locale l)
r - resource bundle name.l - the Locale.| Method Detail |
|---|
public java.util.Locale getLocale()
public java.lang.String getMessage(java.lang.String key)
key - the resource key.
public java.lang.String getMessage(java.lang.String key,
java.lang.Object obj)
key - the resource key.obj - the parameter object.
public java.lang.String getMessage(java.lang.String key,
java.lang.Object[] obj)
key - the resource key.obj - an array of parameter objects.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||