public class LocalizationManager extends Object implements ILocalizationManager
| Constructor and Description |
|---|
LocalizationManager(ILoggerConfiguration loggerConfiguration,
Logger logger) |
| Modifier and Type | Method and Description |
|---|---|
String |
getLocalizedMessage(String messageKey,
Object... args)
Gets localized message from resources by its key.
|
@Inject public LocalizationManager(ILoggerConfiguration loggerConfiguration, Logger logger)
public String getLocalizedMessage(String messageKey, Object... args)
ILocalizationManagergetLocalizedMessage in interface ILocalizationManagermessageKey - Key in resource file.args - Arguments, which will be provided to template of localized message.Copyright © 2020. All rights reserved.