java.lang.Object
org.apache.derby.impl.drda.CcsidManager
org.apache.derby.impl.drda.EbcdicCcsidManager
- public class EbcdicCcsidManager
- extends CcsidManager
A concrete implementation of a CcsidMgr used to convert
between Java UCS2 and Ebcdic as needed to handle character
DDM Parameters. This implementation only supports converting
from the ASCII invariant of UNICODE to Ebcdic. This should
be fine since this class is intended for converting
DDM Parameter data only.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
conversionArrayToEbcdic
private static final int[] conversionArrayToEbcdic
conversionArrayToUCS2
private static final int[] conversionArrayToUCS2
space
byte space
dot
byte dot
numToCharRepresentation
byte[] numToCharRepresentation
EbcdicCcsidManager
EbcdicCcsidManager()
convertFromUCS2
byte[] convertFromUCS2(java.lang.String sourceString)
- Specified by:
convertFromUCS2 in class CcsidManager
convertFromUCS2
int convertFromUCS2(java.lang.String sourceString,
byte[] buffer,
int offset)
- Specified by:
convertFromUCS2 in class CcsidManager
convertToUCS2
java.lang.String convertToUCS2(byte[] sourceBytes)
- Specified by:
convertToUCS2 in class CcsidManager
convertToUCS2
java.lang.String convertToUCS2(byte[] sourceBytes,
int offset,
int numToConvert)
- Specified by:
convertToUCS2 in class CcsidManager