Class LocalizationManager
java.lang.Object
com._1c.g5.v8.dt.common.localization.LocalizationManager
- All Implemented Interfaces:
ILocalizationProvider<String>
Manages the set of localization
ResourceBundle
s registered via
com._1c.g5.v8.dt.common.localization.bundles
extension point.-
Method Summary
Modifier and TypeMethodDescriptionstatic LocalizationManager
Gets the only instance of theLocalizationManager
.Obtains string representation of a givenobject
specific 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:ILocalizationProvider
Obtains string representation of a givenobject
specific to this provider.- Specified by:
getString
in interfaceILocalizationProvider<String>
- Parameters:
key
- object to obtain string representation of. Should not benull
.- Returns:
- obtained string representation or
null
if no presentation available.
-