Package com.ibm.di.protocols.rxa
Interface Messages
-
- All Known Implementing Classes:
TMSMessagesImpl
public interface Messages
Represents message strings that can be substituted with runtime context information.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
Messages.MessageID
Interface for a message ID
-
Method Summary
All Methods Instance Methods Abstract 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
java.lang.String getMessage(java.lang.String id, java.lang.Object[] args)
Get the globalized message for the given String identifier.- 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
java.lang.String getMessage(java.lang.String id)
Get the globalized message for the given String identifier.- Parameters:
id
- Identifier of the requested string.- Returns:
- The message associated with the id.
-
getMessage
java.lang.String getMessage(Messages.MessageID id, java.lang.Object[] args)
Get the globalized message for the given MessageID.- Parameters:
id
- Identifier of the requested message.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
java.lang.String getMessage(Messages.MessageID id)
Get the globalized message for the given MessageID.- Parameters:
id
- Identifier of the requested string.- Returns:
- The message associated with the id.
-
-