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 String
PROFILE_FAIL_ON_MISSING
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDefaultLocaleCode()
Map<String,Locale>
getEnabledLocales()
I18nString
getI18nMessage(String code, Object... args)
Map<MessageArea,Set<Object>>
getKeysByCategory()
Locale
getLocale()
String
getLocaleCode()
String
getMessage(String code, Object... args)
String
getMessageNullArg(String code, Object... args)
String
getMessageUnsafe(String code, Object... args)
Map<String,Locale>
getSupportedLocales()
String
getYesNo(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)
-
-