public abstract class ConvTableSingleMap extends ConvTable
Modifier and Type | Field and Description |
---|---|
byte[] |
fromUnicode_ |
char[] |
toUnicode_ |
Constructor and Description |
---|
ConvTableSingleMap(int ccsid,
char[] toUnicode,
char[] fromUnicode) |
Modifier and Type | Method and Description |
---|---|
void |
charArrayToByteArray(char[] src,
byte[] buf,
int offset) |
void |
charArrayToByteArray(char[] src,
byte[] buf,
int offset,
int length) |
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) |
void |
updateToUnicode(int ebcdic,
char unicode) |
byteArrayToCharArray, byteArrayToCharArray, byteArrayToString, byteArrayToString, charArrayToByteArray, charArrayToByteArray, charArrayToByteArray, charArrayToByteArray, getCcsid, getEncoding, getTable, getTable, isMixedCCSID, stringToByteArray, stringToByteArray, stringToByteArray, stringToByteArray, validateData
public ConvTableSingleMap(int ccsid, char[] toUnicode, char[] fromUnicode)
public final byte[] stringToByteArray(char[] src, int offset, int length)
stringToByteArray
in class ConvTable
public final void stringToByteArray(java.lang.String source, byte[] buf, int offset) throws java.io.CharConversionException
stringToByteArray
in class ConvTable
java.io.CharConversionException
public final void stringToByteArray(java.lang.String source, byte[] buf, int offset, int length) throws java.io.CharConversionException
stringToByteArray
in class ConvTable
java.io.CharConversionException
public final void charArrayToByteArray(char[] src, byte[] buf, int offset) throws java.io.CharConversionException
charArrayToByteArray
in class ConvTable
java.io.CharConversionException
public final void charArrayToByteArray(char[] src, byte[] buf, int offset, int length) throws java.io.CharConversionException
charArrayToByteArray
in class ConvTable
java.io.CharConversionException
public void updateToUnicode(int ebcdic, char unicode)