1 21 package org.apache.derby.impl.drda; 22 23 abstract class CcsidManager 25 { 26 byte space; byte dot; 29 byte[] numToCharRepresentation; 32 33 CcsidManager (byte space, byte dot, byte[] numToCharRepresentation) 34 { 35 this.space = space; 36 this.dot = dot; 37 this.numToCharRepresentation = numToCharRepresentation; 38 } 39 40 41 abstract byte[] convertFromUCS2 (String sourceString); 46 47 48 abstract int convertFromUCS2 (String sourceString, 56 byte[] buffer, 57 int offset); 58 59 abstract String convertToUCS2 (byte[] sourceBytes); 64 65 66 abstract String convertToUCS2 (byte[] sourceBytes, int offset, int numToConvert); 73 74 } 75 | Popular Tags |