|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jacorb.orb.giop.CodeSet
public class CodeSet
Field Summary | |
---|---|
static int |
ISO8859_1
ISO8859_1 represents standard ASCII. |
static java.lang.String |
ISO8859_STR
ISO8859_STR represents the canonical string form of ISO8859_1. |
static int |
UTF16
UTF16 represents extended UCS2, 2 or 4 bytes for every char
ISO/IEC 10646-1:1993; UTF-16, UCS Transformation Format 16-bit form |
static java.lang.String |
UTF16_STR
UTF16_STR represents the canonical string form of UTF16 |
static int |
UTF8
UTF8 represents UTF8 1-6 bytes for every character
X/Open UTF-8; UCS Transformation Format 8 (UTF-8) |
static java.lang.String |
UTF8_STR
UTF8_STR represents the canonical string form of UTF8. |
Constructor Summary | |
---|---|
CodeSet()
|
Method Summary | |
---|---|
static void |
configure(org.jacorb.config.Configuration config)
configure configures the logger and codesets. |
static org.omg.IOP.ServiceContext |
createCodesetContext(int tcs,
int tcsw)
|
static int |
csInt(java.lang.String name)
|
static java.lang.String |
csName(int cs)
|
static CodeSetContext |
getCodeSetContext(org.omg.IOP.ServiceContext[] contexts)
|
static int |
getConversionDefault()
|
static int |
getTCSDefault()
|
static int |
getTCSWDefault()
|
static void |
main(java.lang.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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int ISO8859_1
ISO8859_1
represents standard ASCII.
It is ISO 8859-1:1987; Latin Alphabet No. 1
public static final int UTF8
UTF8
represents UTF8 1-6 bytes for every character
X/Open UTF-8; UCS Transformation Format 8 (UTF-8)
public static final int UTF16
UTF16
represents extended UCS2, 2 or 4 bytes for every char
ISO/IEC 10646-1:1993; UTF-16, UCS Transformation Format 16-bit form
public static final java.lang.String ISO8859_STR
ISO8859_STR
represents the canonical string form of ISO8859_1.
public static final java.lang.String UTF8_STR
UTF8_STR
represents the canonical string form of UTF8.
public static final java.lang.String UTF16_STR
UTF16_STR
represents the canonical string form of UTF16
Constructor Detail |
---|
public CodeSet()
Method Detail |
---|
public static java.lang.String csName(int cs)
public static void configure(org.jacorb.config.Configuration config) throws org.apache.avalon.framework.configuration.ConfigurationException
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.
config
- a Configuration
value
org.apache.avalon.framework.configuration.ConfigurationException
- if an error occurspublic static int csInt(java.lang.String name)
public static int getTCSDefault()
public static int getTCSWDefault()
public static int getConversionDefault()
public static int selectTCS(CodeSetComponentInfo cs_info)
public static int selectTCSW(CodeSetComponentInfo cs_info)
public static org.omg.IOP.ServiceContext createCodesetContext(int tcs, int tcsw)
public static CodeSetContext getCodeSetContext(org.omg.IOP.ServiceContext[] contexts)
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |