|
Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.5) Part Number E13941-05 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweblogic.wtc.jatmi.MBEncoding
public final class 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(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 WTC application which uses the MBSTRING data need to setup the appropriate mapping information between Java and Tuxedo encoding name. In addition, the default 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 String |
checkMBEncoding(String tuxedoEncoding)
Check if the specified Tuxedo encoding name is valid. |
static String |
getDefaultMBEncoding()
Get the default Tuxedo encoding name to which the MBSTRING data sent to the Tuxedo server is converted. |
static String |
mapJavaToTuxedo(String javaEncoding)
Map the Java encoding name to the corresponding Tuxedo encoding name. |
static String |
mapTuxedoToJava(String tuxedoEncoding)
Map the Tuxedo encoding name to the corresponding Java encoding name. |
static void |
setDefaultMBEncoding(String tuxedoEncoding)
Set the default Tuxedo encoding name to which the MBSTRING data sent to the Tuxedo server is converted. |
static void |
setMBEncodingMapFile(String mapfile)
Set the map file path used for mapping between Java and Tuxedo encoding name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MBEncoding()
Method Detail |
---|
public static void setMBEncodingMapFile(String mapfile)
mapFile
- The map file path.public static String mapTuxedoToJava(String tuxedoEncoding)
tuxedoEncoding
- The Tuxedo encoding name.
public static String mapJavaToTuxedo(String javaEncoding)
javaEncoding
- The Java encoding name.
public static void setDefaultMBEncoding(String tuxedoEncoding)
tuxedoEncoding
- The default Tuxedo encoding name used for MBSTRING
conversion.public static String getDefaultMBEncoding()
public static String checkMBEncoding(String tuxedoEncoding)
tuxedoEncoding
- The Tuxedo encoding name checked for validation.
|
Copyright 1996, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.5) Part Number E13941-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |