com.ibm.as400.access

Class ConvTableSingleMap



  • public abstract class ConvTableSingleMap
    extends ConvTable
    This is the parent class for all ConvTableXXX classes that represent single-byte ccsids.
    • Field Detail

      • toUnicode_

        public char[] toUnicode_
      • fromUnicode_

        public byte[] fromUnicode_
    • Constructor Detail

      • ConvTableSingleMap

        public ConvTableSingleMap(int ccsid,
                          char[] toUnicode,
                          char[] fromUnicode)
    • Method Detail

      • 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
      • charArrayToByteArray

        public final void charArrayToByteArray(char[] src,
                                byte[] buf,
                                int offset)
                                        throws java.io.CharConversionException
        Overrides:
        charArrayToByteArray in class ConvTable
        Throws:
        java.io.CharConversionException
      • charArrayToByteArray

        public final void charArrayToByteArray(char[] src,
                                byte[] buf,
                                int offset,
                                int length)
                                        throws java.io.CharConversionException
        Overrides:
        charArrayToByteArray in class ConvTable
        Throws:
        java.io.CharConversionException
      • updateToUnicode

        public void updateToUnicode(int ebcdic,
                           char unicode)