Class LocalizationManager
java.lang.Object
com._1c.g5.v8.dt.common.localization.LocalizationManager
- All Implemented Interfaces:
ILocalizationProvider<String>
Manages the set of localization
ResourceBundles registered via
com._1c.g5.v8.dt.common.localization.bundles extension point.-
Method Summary
Modifier and TypeMethodDescriptionstatic LocalizationManagerGets the only instance of theLocalizationManager.Obtains string representation of a givenobjectspecific to this provider.
-
Method Details
-
getInstance
Gets the only instance of theLocalizationManager. Thread-safe.- Returns:
- global shared instance of
LocalizationManager.
-
getString
Description copied from interface:ILocalizationProviderObtains string representation of a givenobjectspecific to this provider.- Specified by:
getStringin interfaceILocalizationProvider<String>- Parameters:
key- object to obtain string representation of. Should not benull.- Returns:
- obtained string representation or
nullif no presentation available.
-