|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbea.jolt.MBEncoding
This class provides the utilities for handling the encoding name for MBSTRING data. Since the encoding names for the same character set often differ between Java and Tuxedo(GNU iconv), the encoding name mapping between Java and Tuxedo is necessary when a MBSTRING data is sent to or received from the Tuxedo server. With the methods of this class, the Jolt application which uses the MBSTRING data need to setup the appropriate mapping information between Java and Tuxedo encoding name. In addition, the Tuxedo encoding name to which the MBSTRING data is converted when it is sent to the Tuxedo server can be specified.
Constructor Summary | |
MBEncoding()
|
Method Summary | |
static java.lang.String |
checkMBEncoding(java.lang.String tuxedoEncoding)
Check if the specified Tuxedo encoding name is valid. |
static java.lang.String |
getMBEncoding()
Get the Tuxedo encoding name to which the MBSTRING data sent to the Tuxedo server is converted. |
static java.lang.String |
mapJavaToTuxedo(java.lang.String javaEncoding)
Map the Java encoding name to the corresponding Tuxedo encoding name. |
static java.lang.String |
mapTuxedoToJava(java.lang.String tuxedoEncoding)
Map the Tuxedo encoding name to the corresponding Java encoding name. |
static void |
setMBEncoding(java.lang.String tuxedoEncoding)
Set the Tuxedo encoding name to which the MBSTRING data sent to the Tuxedo server is converted. |
static void |
setMBEncodingMapFile(java.lang.String mapFile)
Set the map file path used for mapping between Java and Tuxedo encoding name. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MBEncoding()
Method Detail |
public static void setMBEncodingMapFile(java.lang.String mapFile)
mapFile
- The map file path.public static java.lang.String mapTuxedoToJava(java.lang.String tuxedoEncoding)
tuxedoEncoding
- The Tuxedo encoding name.
public static java.lang.String mapJavaToTuxedo(java.lang.String javaEncoding)
javaEncoding
- The Java encoding name.
public static void setMBEncoding(java.lang.String tuxedoEncoding)
tuxedoEncoding
- The Tuxedo encoding name used for MBSTRING conversion.public static java.lang.String getMBEncoding()
public static java.lang.String checkMBEncoding(java.lang.String tuxedoEncoding)
tuxedoEncoding
- The Tuxedo encoding name checked for validation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |