org.jacorb.orb.giop
public class CodeSet extends Object
Version: $Id: CodeSet.java,v 1.22 2006/07/26 13:24:38 nick.cross Exp $
Field Summary | |
---|---|
static int | ISO8859_1ISO8859_1 represents standard ASCII.
|
static String | ISO8859_STRISO8859_STR represents the canonical string form of ISO8859_1. |
static int | UTF16UTF16 represents extended UCS2, 2 or 4 bytes for every char
ISO/IEC 10646-1:1993; UTF-16, UCS Transformation Format 16-bit form |
static String | UTF16_STRUTF16_STR represents the canonical string form of UTF16 |
static int | UTF8UTF8 represents UTF8 1-6 bytes for every character
X/Open UTF-8; UCS Transformation Format 8 (UTF-8) |
static String | UTF8_STRUTF8_STR represents the canonical string form of UTF8. |
Method Summary | |
---|---|
static void | configure(Configuration config)configure configures the logger and codesets. |
static ServiceContext | createCodesetContext(int tcs, int tcsw) |
static int | csInt(String name) |
static String | csName(int cs) |
static CodeSetContext | getCodeSetContext(ServiceContext[] contexts) |
static int | getConversionDefault() |
static int | getTCSDefault() |
static int | getTCSWDefault() |
static void | main(String[] args) |
static int | selectTCS(CodeSetComponentInfo cs_info)
This method compares the codesets in the component with our
native codeset. |
static int | selectTCSW(CodeSetComponentInfo cs_info)
This method compares the wide codesets in the component with our
native wide codeset. |
ISO8859_1
represents standard ASCII.
It is ISO 8859-1:1987; Latin Alphabet No. 1ISO8859_STR
represents the canonical string form of ISO8859_1.UTF16
represents extended UCS2, 2 or 4 bytes for every char
ISO/IEC 10646-1:1993; UTF-16, UCS Transformation Format 16-bit formUTF16_STR
represents the canonical string form of UTF16UTF8
represents UTF8 1-6 bytes for every character
X/Open UTF-8; UCS Transformation Format 8 (UTF-8)UTF8_STR
represents the canonical string form of UTF8.configure
configures the logger and codesets. It is
synchronized as the configuration parameters are static and therefore
we do not want to 'collide' with another init.
This class does not implement configurable which ideally it should. However
as this method is static it would conflict with it.
Parameters: config a Configuration
value
Throws: ConfigurationException if an error occurs