Enum Class IbmMqCharacterSet

java.lang.Object
java.lang.Enum<IbmMqCharacterSet>
com.trafficparrot.sdk.ibmmq.IbmMqCharacterSet
All Implemented Interfaces:
Serializable, Comparable<IbmMqCharacterSet>, Constable

public enum IbmMqCharacterSet extends Enum<IbmMqCharacterSet>
The character sets an MQFMT_STRING response body can be written in: the characterSet of a native IBM MQ mapping's response, and of an IbmMqResponse.
  • Enum Constant Details

    • UTF_8

      public static final IbmMqCharacterSet UTF_8
      UTF-8, CCSID 1208. The character set used when a response names none.
    • UNICODE

      public static final IbmMqCharacterSet UNICODE
      UTF-16, CCSID 1200.
    • ASCII_850

      public static final IbmMqCharacterSet ASCII_850
      The PC code page 850 (multilingual Latin-1), CCSID 850.
    • ISO_8859_1

      public static final IbmMqCharacterSet ISO_8859_1
      ISO 8859-1 (Latin-1), CCSID 819.
    • EBCDIC_US

      public static final IbmMqCharacterSet EBCDIC_US
      The EBCDIC code page 037 (US English), CCSID 37.
  • Field Details

    • ccsid

      public final int ccsid
      The coded character set identifier IBM MQ knows the character set by, as set on MQMessage.characterSet.
  • Method Details

    • values

      public static IbmMqCharacterSet[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static IbmMqCharacterSet valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null