Class COM.odi.jcpp.CharConverter
java.lang.Object
|
+----COM.odi.jcpp.CharConverter
- public class CharConverter
- extends Object
This abstract class defines the protocol by which C++ char array <->
Java String conversion is done.
-
decodeCPPString(byte[])
- Create a a Java String by decoding the contents of the C++
character array using the encoding format supported by this converter.
-
decodeCPPStringContents(byte[])
- Create a a Java String by decoding the contents of the C++
character array using the encoding format supported by this converter.
-
encodeString(String)
- Encode the Java string str into a byte array using
the specified character encoding.
decodeCPPString
public abstract String decodeCPPString(byte linearObjectReference[])
- Create a a Java String by decoding the contents of the C++
character array using the encoding format supported by this converter.
- Parameters:
- cppString - The linearObjectReference which refers to the C++
char array.
decodeCPPStringContents
public abstract String decodeCPPStringContents(byte cppStringContents[])
- Create a a Java String by decoding the contents of the C++
character array using the encoding format supported by this converter.
- Parameters:
- cppStringContents - The contents of the C++ char array.
encodeString
public abstract byte[] encodeString(String str)
- Encode the Java string str into a byte array using
the specified character encoding.
Copyright © 1996, 1997, 1998 Object Design, Inc. All rights reserved.