com.crystaldecisions.sdk.framework
Interface ILanguageMgr


public interface ILanguageMgr

This interface provides access to information about the locales that are supported and which locales (language packs) are installed for this deployment.


Method Summary
 java.util.Locale getEffectiveInstalledLocale(java.util.Locale locale)
          Returns the installed locale that is the closest to the specified locale.
 java.util.List getInstalledLocales()
          Returns the list of locales that are currently installed.
 java.util.List getSupportedLocales()
          Returns the list of locales that are supported.
 

Method Detail

getSupportedLocales

java.util.List getSupportedLocales()

Returns the list of locales that are supported.

Returns:
A List containing Locale objects.
See Also:
ILanguageMgr.getInstalledLocales()

getInstalledLocales

java.util.List getInstalledLocales()
                                   throws SDKException

Returns the list of locales that are currently installed.

Returns:
A List containing Locale objects.
Throws:
SDKException

getEffectiveInstalledLocale

java.util.Locale getEffectiveInstalledLocale(java.util.Locale locale)
                                             throws SDKException

Returns the installed locale that is the closest to the specified locale.

Parameters:
locale - The desired locale
Returns:
Locale that most closely matches the specified locale.
Throws:
SDKException