| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dbforms.util.MessageResource
public class MessageResource
base class for handling message resources
| Constructor Summary | |
|---|---|
| MessageResource(String subClass)Creates a new MessageResource object. | |
| Method Summary | |
|---|---|
|  String | getMessage(String msg,
           Locale loc)Retrieve message from ResourceBundle. | 
|  String | getMessage(String msg,
           Locale loc,
           String[] parms)Retrieve message from ResourceBundle and replace parameter "{x}" with values in parms array. | 
|  String | getSubClass()DOCUMENT ME! | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public MessageResource(String subClass)
subClass - DOCUMENT ME!| Method Detail | 
|---|
public String getMessage(String msg,
                         Locale loc)
msgmsg -  : Message key to lookup.locloc -  : Locale object to map message with good
        ResourceBundle.
String : Message resolve, null if not found.
public String getMessage(String msg,
                         Locale loc,
                         String[] parms)
msgmsg -  : Message key to lookup.locloc -  : Locale object to map message with good
        ResourceBundle.parmsparms[] -  : Parameters to replace "{x}" in message .
String : Message resolve with parameter replaced,
         null if message key not found.public String getSubClass()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||