Class LocalizationManager
- java.lang.Object
-
- com._1c.g5.v8.dt.common.localization.LocalizationManager
-
- All Implemented Interfaces:
ILocalizationProvider<String>
public class LocalizationManager extends Object implements ILocalizationProvider<String>
Manages the set of localizationResourceBundles registered viacom._1c.g5.v8.dt.common.localization.bundlesextension point.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LocalizationManagergetInstance()Gets the only instance of theLocalizationManager.StringgetString(String key)Obtains string representation of a givenobjectspecific to this provider.
-
-
-
Method Detail
-
getInstance
public static LocalizationManager getInstance()
Gets the only instance of theLocalizationManager. Thread-safe.- Returns:
- global shared instance of
LocalizationManager.
-
getString
public String getString(String key)
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.
-
-