Package com.evolveum.midpoint.common
Class LocalizationServiceImpl
java.lang.Object
com.evolveum.midpoint.common.LocalizationServiceImpl
- All Implemented Interfaces:
LocalizationService
- Author:
- Viliam Repan (lazyman)., Radovan Semancik
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull Locale
void
init()
void
setOverrideLocale
(Locale overrideLocale) translate
(PolyString polyString, Locale locale, boolean allowOrig) translate
(LocalizableMessageList msgList, Locale locale) translate
(LocalizableMessage msg, Locale locale) translate
(LocalizableMessage msg, Locale locale, String defaultMessage) translate
(SingleLocalizableMessage msg, Locale locale) <T extends CommonException>
Ttranslate
(T e) Fills-in message and localizedMessage based on userFriendlyMessage, if needed.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.common.LocalizationService
translate, translate, translate
-
Constructor Details
-
LocalizationServiceImpl
public LocalizationServiceImpl()
-
-
Method Details
-
init
public void init() -
getOverrideLocale
-
setOverrideLocale
-
translate
- Specified by:
translate
in interfaceLocalizationService
-
translate
- Specified by:
translate
in interfaceLocalizationService
-
translate
- Specified by:
translate
in interfaceLocalizationService
-
translate
- Specified by:
translate
in interfaceLocalizationService
-
translate
-
translate
-
translate
Description copied from interface:LocalizationService
Fills-in message and localizedMessage based on userFriendlyMessage, if needed.- Specified by:
translate
in interfaceLocalizationService
-
translate
- Specified by:
translate
in interfaceLocalizationService
-
getDefaultLocale
- Specified by:
getDefaultLocale
in interfaceLocalizationService
-