Package com.ibm.di.connector.tam
Class TMSMessageGetter
- java.lang.Object
-
- com.ibm.di.connector.tam.TMSMessageGetter
-
public final class TMSMessageGetter extends java.lang.ObjectWrapper class used to retrieve TMS messages for the TAM Connector. The properties file used for the messages is named "tamconnector".
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringMESSAGE_PROPERTIES_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringgetMessage(TMSMsgId id)Get the globalized message for the given MessageID.static java.lang.StringgetMessage(TMSMsgId id, java.lang.Object arg)Get the globalized message for the given MessageID.static java.lang.StringgetMessage(TMSMsgId id, java.lang.Object[] args)Get the globalized message for the given MessageID.static java.lang.StringgetMessage(java.lang.String id)Get the globalized message for the given String identifier.static java.lang.StringgetMessage(java.lang.String id, java.lang.Object arg)Get the globalized message for the given String identifier.static java.lang.StringgetMessage(java.lang.String id, java.lang.Object[] args)Get the globalized message for the given String identifier.
-
-
-
Field Detail
-
MESSAGE_PROPERTIES_NAME
public static final java.lang.String MESSAGE_PROPERTIES_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getMessage
public static 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
public static java.lang.String getMessage(java.lang.String id, java.lang.Object arg)Get the globalized message for the given String identifier.- Parameters:
id- Identifier of the requested string.arg- Substitutable argument 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 static 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
public static java.lang.String getMessage(TMSMsgId id, java.lang.Object[] args)
Get the globalized message for the given MessageID.- 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 static java.lang.String getMessage(TMSMsgId id, java.lang.Object arg)
Get the globalized message for the given MessageID.- Parameters:
id- Identifier of the requested string.arg- Substitutable argument 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 static java.lang.String getMessage(TMSMsgId id)
Get the globalized message for the given MessageID.- Parameters:
id- Identifier of the requested string.- Returns:
- The message associated with the id.
-
-