|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dbforms.util.MessageResourcesInternal
public class MessageResourcesInternal
handling of internal messages
| Constructor Summary | |
|---|---|
MessageResourcesInternal()
|
|
| Method Summary | |
|---|---|
static String |
getMessage(String msg,
Locale loc)
Retrieve message from ResourceBundle. |
static String |
getMessage(String msg,
Locale locale,
String defaultMsg)
Get the message from ResourceBundle. |
static String |
getMessage(String msg,
Locale loc,
String[] parms)
Retrieve message from ResourceBundle and replace parameter "{x}" with values in parms array. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MessageResourcesInternal()
| Method Detail |
|---|
public static String getMessage(String msg,
Locale locale,
String defaultMsg)
msgString - : Message key to lookup.localeLocale - : Locale object to map message with good
ResourceBundle.defaultMsgString - : String to return if the lookup message
key is not found.
String : Message resolve.
public static String getMessage(String msg,
Locale loc)
msgString - : Message key to lookup.locLocale - : Locale object to map message with good
ResourceBundle.
String : Message resolve, null if not found.
public static String getMessage(String msg,
Locale loc,
String[] parms)
msgString - : Message key to lookup.locLocale - : Locale object to map message with good
ResourceBundle.parmsString[] - : Parameters to replace "{x}" in message .
String : Message resolve with parameter replaced,
null if message key not found.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||