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
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull Localevoidinit()voidsetOverrideLocale(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, waitMethods 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:
translatein interfaceLocalizationService
-
translate
- Specified by:
translatein interfaceLocalizationService
-
translate
- Specified by:
translatein interfaceLocalizationService
-
translate
- Specified by:
translatein interfaceLocalizationService
-
translate
-
translate
-
translate
Description copied from interface:LocalizationServiceFills-in message and localizedMessage based on userFriendlyMessage, if needed.- Specified by:
translatein interfaceLocalizationService
-
translate
- Specified by:
translatein interfaceLocalizationService
-
getDefaultLocale
- Specified by:
getDefaultLocalein interfaceLocalizationService
-