|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.di.connector.sapr3.bor.i18n.DefaultMessagesImpl
public final class DefaultMessagesImpl
The default implementation of Messages. This implementation is a
wrapper for java.util.ResourceBundle strings.
| Constructor Summary | |
|---|---|
DefaultMessagesImpl(String resourceName)
Loads the ResourceBundle identified by resourceName. |
|
| Method Summary | |
|---|---|
String |
getMessage(String id)
Get the globalized message for the given id. |
String |
getMessage(String id,
Object[] args)
Get the globalized message for the given id. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultMessagesImpl(String resourceName)
throws MissingResourceException
resourceName - A .properties or .class loadable resource bundle. See
java.util.ResourceBundle.
MissingResourceException - If unable to load bundle named by resoureName.| Method Detail |
|---|
public String getMessage(String id,
Object[] args)
getMessage in interface Messagesid - Identifier of the requested string.args - Substitutable arguments to be inserted into the result string.
public String getMessage(String id)
getMessage in interface Messagesid - Identifier of the requested string.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||