Retrieves the locale of the connector framework.
Syntax
char * getLocale();
Parameters
None.
Return values
A string containing the connector framework's locale setting.
Notes
The getLocale() method retrieves the connector framework's locale, which defines cultural conventions for data according to language, country (or territory), and a character encoding. The connector framework's locale should indicate the locale of the connector application. The connector framework's locale is set using the following hierarchy:
WebSphere InterChange Server |
---|
If a local configuration file exists, the setting of the Locale connector configuration property in this local file takes precedence. If no local configuration file exists, the setting of the Locale property is the one from the set of connector configuration properties downloaded from the InterChange Server repository at connector startup. |
This method is useful when the connector needs to perform locale-sensitive processing.
See also
getEncoding(), getLocale() (in the BusinessObject class)