com.ibm.as400.access

Class ConvTableUnicodeBigMap



  • public class ConvTableUnicodeBigMap
    extends ConvTable
  • >
    • Method Detail

      • byteArrayToString

        public final java.lang.String byteArrayToString(byte[] buf,
                                         int offset,
                                         int length,
                                         int type)
        Perform an OS/400 CCSID to Unicode conversion.
        Overrides:
        byteArrayToString in class ConvTable
      • byteArrayToString

        public final java.lang.String byteArrayToString(byte[] buf,
                                         int offset,
                                         int length)
        Overrides:
        byteArrayToString in class ConvTable
      • stringToByteArray

        public final byte[] stringToByteArray(java.lang.String source,
                               int type)
        Overrides:
        stringToByteArray in class ConvTable
      • stringToByteArray

        public final byte[] stringToByteArray(char[] src,
                               int offset,
                               int length)
        Overrides:
        stringToByteArray in class ConvTable
      • stringToByteArray

        public final void stringToByteArray(java.lang.String source,
                             byte[] buf,
                             int offset)
                                     throws java.io.CharConversionException
        Overrides:
        stringToByteArray in class ConvTable
        Throws:
        java.io.CharConversionException
      • stringToByteArray

        public final void stringToByteArray(java.lang.String source,
                             byte[] buf,
                             int offset,
                             int length)
                                     throws java.io.CharConversionException
        Overrides:
        stringToByteArray in class ConvTable
        Throws:
        java.io.CharConversionException
      • stringToByteArray

        public final void stringToByteArray(java.lang.String source,
                             byte[] buf,
                             int offset,
                             int length,
                             int type)
                                     throws java.io.CharConversionException
        Overrides:
        stringToByteArray in class ConvTable
        Throws:
        java.io.CharConversionException
      • stringToByteArray

        public final int stringToByteArray(java.lang.String source,
                            byte[] buf,
                            int offset,
                            int length,
                            BidiConversionProperties properties)
                                    throws java.io.CharConversionException
        Description copied from class: ConvTable
        Place the string into the specified buffer, beginning at offset for length. This returns the number of bytes that did not fit (i.e. number of bytes truncated).
        Overrides:
        stringToByteArray in class ConvTable
        Parameters:
        source - String to convert
        buf - output buffer
        offset - offset in buffer to put information
        length - maximum number of bytes to add to the buffer
        properties - BidiConversionProperties
        Returns:
        number of bytes that were truncated
        Throws:
        java.io.CharConversionException - If a character conversion error occurs.