getLocale()

Retrieves the locale of the connector framework.

Syntax

public String getLocale();
 

Parameters

None.

Return values

A String object 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:

This method is useful when the connector needs to perform locale-sensitive processing.

See also

createBusinessObject(), getGlobalEncoding(), getLocale() (within the BusinessObjectInterface interface)

Copyright IBM Corp. 1997, 2003