Package com.ibm.di.protocols.rxa
Class TMSMessagesImpl
- java.lang.Object
-
- com.ibm.di.protocols.rxa.TMSMessagesImpl
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.ibm.di.protocols.rxa.Messages
Messages.MessageID
-
-
Constructor Summary
Constructors Constructor Description TMSMessagesImpl(java.lang.String resourceName)
Loads the ResourceBundle identified by resourceName.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMessage(Messages.MessageID id)
Get the globalized message for the given MessageID.java.lang.String
getMessage(Messages.MessageID id, java.lang.Object[] args)
Get the globalized message for the given MessageID.java.lang.String
getMessage(java.lang.String id)
Get the globalized message for the given String identifier.java.lang.String
getMessage(java.lang.String id, java.lang.Object[] args)
Get the globalized message for the given String identifier.
-
-
-
Method Detail
-
getMessage
public java.lang.String getMessage(java.lang.String id, java.lang.Object[] args)
Get the globalized message for the given String identifier.- Specified by:
getMessage
in interfaceMessages
- Parameters:
id
- Identifier of the requested string.args
- Substitutable arguments to be inserted into the result string.- Returns:
- The message associated with the id. The args will be substitued into the result string.
-
getMessage
public java.lang.String getMessage(java.lang.String id)
Get the globalized message for the given String identifier.- Specified by:
getMessage
in interfaceMessages
- Parameters:
id
- Identifier of the requested string.- Returns:
- The message associated with the id.
-
getMessage
public java.lang.String getMessage(Messages.MessageID id, java.lang.Object[] args)
Get the globalized message for the given MessageID.- Specified by:
getMessage
in interfaceMessages
- Parameters:
id
- Identifier of the requested string.args
- Substitutable arguments to be inserted into the result string.- Returns:
- The message associated with the id. The args will be substitued into the result string.
-
getMessage
public java.lang.String getMessage(Messages.MessageID id)
Get the globalized message for the given MessageID.- Specified by:
getMessage
in interfaceMessages
- Parameters:
id
- Identifier of the requested string.- Returns:
- The message associated with the id.
-
-