|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.fc.remotecmdlnfc.TMSMessagesImpl
public final class TMSMessagesImpl
The default implementation of Messages
. This implementation is a
wrapper for java.util.ResourceBundle strings.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.ibm.di.fc.remotecmdlnfc.Messages |
---|
Messages.MessageID |
Constructor Summary | |
---|---|
TMSMessagesImpl(String resourceName)
Loads the ResourceBundle identified by resourceName. |
Method Summary | |
---|---|
String |
getMessage(Messages.MessageID id)
Get the globalized message for the given MessageID. |
String |
getMessage(Messages.MessageID id,
Object[] args)
Get the globalized message for the given MessageID. |
String |
getMessage(String id)
Get the globalized message for the given String identifier. |
String |
getMessage(String id,
Object[] args)
Get the globalized message for the given String identifier. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TMSMessagesImpl(String resourceName)
resourceName
- A .properties or .class loadable resource bundle.Method Detail |
---|
public String getMessage(String id, Object[] args)
getMessage
in interface Messages
id
- Identifier of the requested string.args
- Substitutable arguments to be inserted into the result string.
public String getMessage(String id)
getMessage
in interface Messages
id
- Identifier of the requested string.
public String getMessage(Messages.MessageID id, Object[] args)
getMessage
in interface Messages
id
- Identifier of the requested string.args
- Substitutable arguments to be inserted into the result string.
public String getMessage(Messages.MessageID id)
getMessage
in interface Messages
id
- Identifier of the requested string.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |