Package com.sun.corba.ee.impl.encoding
Class CodeSetConversion.CTBConverter
java.lang.Object
com.sun.corba.ee.impl.encoding.CodeSetConversion.CTBConverter
- Direct Known Subclasses:
CodeSetConversion.JavaCTBConverter
- Enclosing class:
CodeSetConversion
Abstraction for char to byte conversion.
Must be used in the proper sequence:
1) convert
2) Optional getNumBytes and/or getAlignment (if necessary)
3) getBytes (see warning)
-
Constructor Details
-
CTBConverter
public CTBConverter()
-
-
Method Details
-
convert
public abstract void convert(char chToConvert) -
convert
-
getNumBytes
public abstract int getNumBytes() -
getMaxBytesPerChar
public abstract float getMaxBytesPerChar() -
getAlignment
public abstract int getAlignment() -
getBytes
public abstract byte[] getBytes()
-