|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1) E10653-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jbo.common.CharacterEncodingMapping
public class CharacterEncodingMapping
Provides two static conversion functions to translate between IANA names for character set encodings and JDK names.
The code for this class is partially generated, using the (unpublished) utility oracle.xml.parser.v2.MapReverser, the source for which is controlled by the Oracle Business Components for Java team. see http://java.sun.com/products/jdk/1.1/intl/html/intlspec.doc7.html and http://java.sun.com/products/jdk/1.2/docs/guide/internat/encoding.doc.html for the published list of JDK encodings. The JDK code in 1.1 and 1.2 is slightly incomplete: there are a few mappings defined in the doc that don't exist: ISO2022CN ISO2022KR, MS950 and GBK There's nothing we can do abpout that problem till its fixed by Sun
Method Summary | |
---|---|
static java.lang.String |
convertIanaToJdk(java.lang.String ianaName)
Wrapper function for the sun.io.CharacterEncoding.alaisName function (undocumented) provided by Sun to translate from IANA encoding names to JDK encoding names. |
static java.lang.String |
convertJdkToIana(java.lang.String jdkName)
Reverse mapping of IANA to JDK character encoding names. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.String convertIanaToJdk(java.lang.String ianaName)
public static java.lang.String convertJdkToIana(java.lang.String jdkName)
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1) E10653-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |