com.ibm.mq.headers.pcf

Class CCSID



  • public class CCSID
    extends CCSID
    exclude
    The CCSID class provides a helper function to get the string representation of a specified cssid and encoding.
    • Constructor Detail

      • CCSID

        public CCSID()
    • Method Detail

      • getCharSet

        public static java.lang.String getCharSet(int ccsid,
                                                  int encoding)
                                           throws java.io.UnsupportedEncodingException
        Returns the character set name corresponding to the specified CCSID and encoding.
        Parameters:
        ccsid - is the ccsid
        encoding - is the encoding
        Returns:
        the character set name
        Throws:
        java.io.UnsupportedEncodingException - if there is no codepage mapping for the supplied CCSID value
(c) Copyright IBM Corp. 2008, 2016. All Rights Reserved.