com.ibm.as400.access
Class ConvTableUnicodeBigMap
- java.lang.Object
-
- com.ibm.as400.access.ConvTable
-
- com.ibm.as400.access.ConvTableUnicodeBigMap
-
public class ConvTableUnicodeBigMap extends ConvTable
-
-
Method Summary
Methods Modifier and Type Method and Description java.lang.String
byteArrayToString(byte[] buf, int offset, int length)
java.lang.String
byteArrayToString(byte[] buf, int offset, int length, int type)
Perform an OS/400 CCSID to Unicode conversion.byte[]
stringToByteArray(char[] src, int offset, int length)
void
stringToByteArray(java.lang.String source, byte[] buf, int offset)
void
stringToByteArray(java.lang.String source, byte[] buf, int offset, int length)
int
stringToByteArray(java.lang.String source, byte[] buf, int offset, int length, BidiConversionProperties properties)
Place the string into the specified buffer, beginning at offset for length.void
stringToByteArray(java.lang.String source, byte[] buf, int offset, int length, int type)
byte[]
stringToByteArray(java.lang.String source, int type)
-
Methods inherited from class com.ibm.as400.access.ConvTable
getCcsid, getEncoding, getTable, getTable, isMixedCCSID, stringToByteArray, validateData
-
-
-
-
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 classConvTable
-
byteArrayToString
public final java.lang.String byteArrayToString(byte[] buf, int offset, int length)
- Overrides:
byteArrayToString
in classConvTable
-
stringToByteArray
public final byte[] stringToByteArray(java.lang.String source, int type)
- Overrides:
stringToByteArray
in classConvTable
-
stringToByteArray
public final byte[] stringToByteArray(char[] src, int offset, int length)
- Overrides:
stringToByteArray
in classConvTable
-
stringToByteArray
public final void stringToByteArray(java.lang.String source, byte[] buf, int offset) throws java.io.CharConversionException
- Overrides:
stringToByteArray
in classConvTable
- 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 classConvTable
- 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 classConvTable
- 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 classConvTable
- Parameters:
source
- String to convertbuf
- output bufferoffset
- offset in buffer to put informationlength
- maximum number of bytes to add to the bufferproperties
- BidiConversionProperties- Returns:
- number of bytes that were truncated
- Throws:
java.io.CharConversionException
- If a character conversion error occurs.
-
-