public class CcsidConversion
extends java.lang.Object
Constructor and Description |
---|
CcsidConversion() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
createString(byte[] data,
int offset,
int length,
int ccsid) |
static SingleByteConversion |
getSingleByteConversion(int ccsid) |
static int |
stringToEBCDICByteArray(java.lang.String s,
byte[] data,
int offset,
int ccsidToUse) |
static byte[] |
stringToEBCDICByteArray(java.lang.String s,
int ccsidToUse) |
static int |
stringToEBCDICByteArray(java.lang.String s,
int length,
byte[] data,
int offset,
int ccsidToUse) |
public static SingleByteConversion getSingleByteConversion(int ccsid) throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException
public static java.lang.String createString(byte[] data, int offset, int length, int ccsid) throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException
public static byte[] stringToEBCDICByteArray(java.lang.String s, int ccsidToUse) throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException
public static int stringToEBCDICByteArray(java.lang.String s, byte[] data, int offset, int ccsidToUse) throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException
public static int stringToEBCDICByteArray(java.lang.String s, int length, byte[] data, int offset, int ccsidToUse) throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException