Package com.trafficparrot.sdk.ibmmq
Enum Class IbmMqCharacterSet
- All Implemented Interfaces:
Serializable,Comparable<IbmMqCharacterSet>,Constable
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.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe PC code page 850 (multilingual Latin-1), CCSID 850.The EBCDIC code page 037 (US English), CCSID 37.ISO 8859-1 (Latin-1), CCSID 819.UTF-16, CCSID 1200.UTF-8, CCSID 1208. -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal intThe coded character set identifier IBM MQ knows the character set by, as set onMQMessage.characterSet. -
Method Summary
Modifier and TypeMethodDescriptionstatic IbmMqCharacterSetReturns the enum constant of this class with the specified name.static IbmMqCharacterSet[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UTF_8
UTF-8, CCSID 1208. The character set used when a response names none. -
UNICODE
UTF-16, CCSID 1200. -
ASCII_850
The PC code page 850 (multilingual Latin-1), CCSID 850. -
ISO_8859_1
ISO 8859-1 (Latin-1), CCSID 819. -
EBCDIC_US
The EBCDIC code page 037 (US English), CCSID 37.
-
-
Field Details
-
ccsid
public final int ccsidThe coded character set identifier IBM MQ knows the character set by, as set onMQMessage.characterSet.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-