Package pl.edu.icm.unity
Interface MessageSource
-
- All Superinterfaces:
org.springframework.context.MessageSource
public interface MessageSource extends org.springframework.context.MessageSource
-
-
Field Summary
Fields Modifier and Type Field Description static StringPROFILE_FAIL_ON_MISSING
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDefaultLocaleCode()Map<String,Locale>getEnabledLocales()I18nStringgetI18nMessage(String code, Object... args)Map<MessageArea,Set<Object>>getKeysByCategory()LocalegetLocale()StringgetLocaleCode()StringgetMessage(String code, Object... args)StringgetMessageNullArg(String code, Object... args)StringgetMessageUnsafe(String code, Object... args)Map<String,Locale>getSupportedLocales()StringgetYesNo(boolean value)
-
-
-
Field Detail
-
PROFILE_FAIL_ON_MISSING
static final String PROFILE_FAIL_ON_MISSING
- See Also:
- Constant Field Values
-
-
Method Detail
-
getYesNo
String getYesNo(boolean value)
-
getLocale
Locale getLocale()
-
getDefaultLocaleCode
String getDefaultLocaleCode()
-
getLocaleCode
String getLocaleCode()
-
getKeysByCategory
Map<MessageArea,Set<Object>> getKeysByCategory()
-
getI18nMessage
I18nString getI18nMessage(String code, Object... args)
-
-