|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.interfaceware.chameleon.ChameleonEncoding
public class ChameleonEncoding
This class contains functions to change the current encoding used internally by Chameleon at runtime. Changes made here affect all currently instantiated Engines and Chameleon network connections.
The locale set here is used to determine how to
1) Translate .NET and Java unicode strings to and from the internal representation used in Chameleon for both Engine and network operations. See http://www.interfaceware.com/manual/setting_encoding.html for more details.
2) Determine how strings are parsed with an Engine.
Constructor Summary | |
---|---|
ChameleonEncoding()
|
|
ChameleonEncoding(long Handle)
|
Method Summary | |
---|---|
static int |
countOfTranslationLocale()
Get the total number of supported translation locales. |
protected void |
finalize()
|
static java.lang.String |
getCurrentTranslationLocale()
Get the translation locale. |
void |
release()
|
static void |
setCurrentTranslationLocale(java.lang.String NewLocale)
Set the translation locale. |
static java.lang.String |
translationLocale(int LocaleIndex)
Get a translation locale at a particular index. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChameleonEncoding() throws ChameleonException
ChameleonException
public ChameleonEncoding(long Handle) throws ChameleonException
ChameleonException
Method Detail |
---|
public void release() throws ChameleonException
ChameleonException
protected void finalize() throws ChameleonException
finalize
in class java.lang.Object
ChameleonException
public static java.lang.String getCurrentTranslationLocale() throws ChameleonException
Get the translation locale.
The initial value is extracted from the default system locale.
ChameleonException
public static void setCurrentTranslationLocale(java.lang.String NewLocale) throws ChameleonException
Set the translation locale. See http://www.interfaceware.com/manual/setting_encoding.html for more details
NewLocale
- New Locale Setting
ChameleonException
public static int countOfTranslationLocale() throws ChameleonException
Get the total number of supported translation locales.
ChameleonException
public static java.lang.String translationLocale(int LocaleIndex) throws ChameleonException
Get a translation locale at a particular index.
LocaleIndex
- Locale Index
ChameleonException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |