com.ibm.connector2.cics

Class CICSMessageHelper

  • java.lang.Object
    • com.ibm.connector2.cics.CICSMessageHelper


  • public class CICSMessageHelper
    extends java.lang.Object
    This class provides a single point of access to all messages used by the CICS resource adapters. It is a static class and is never instantiated.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      static java.lang.String getString(java.lang.String messageId)
      This method retrieve a message from the bundle and formats it suitable for output.
      static java.lang.String getString(java.lang.String messageId, java.lang.Object[] aobjInserts)
      This method retrieves a message from the bundle and formats it using the specified arguments.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CICSMessageHelper

        public CICSMessageHelper()
    • Method Detail

      • getString

        public static java.lang.String getString(java.lang.String messageId)
        This method retrieve a message from the bundle and formats it suitable for output.
        Parameters:
        messageId - the message key as defined in the MSG xml file for the message
        Returns:
        Message in the language of the ResourceBundle
      • getString

        public static java.lang.String getString(java.lang.String messageId,
                                 java.lang.Object[] aobjInserts)
        This method retrieves a message from the bundle and formats it using the specified arguments.
        Parameters:
        messageId - the message key as defined in the MSG xml file for the message
        aobjInserts - an array of insert objects
        Returns:
        String Message in language of ResourceBundle

©Copyright IBM Corp. 1994, 2016


Legal