Example usage for Java org.springframework.context.support MessageSourceAccessor fields, constructors, methods, implement or subclass
The text is from its open source code.
MessageSourceAccessor(MessageSource messageSource) Create a new MessageSourceAccessor, using LocaleContextHolder's locale as default locale. | |
MessageSourceAccessor(MessageSource messageSource, Locale defaultLocale) Create a new MessageSourceAccessor, using the given default locale. |
String | getMessage(String code, String defaultMessage, Locale locale) Retrieve the message for the given code and the given Locale. |
String | getMessage(String code, @Nullable Object[] args, String defaultMessage) Retrieve the message for the given code and the default Locale. |
String | getMessage(String code, @Nullable Object[] args, Locale locale) Retrieve the message for the given code and the given Locale. |
String | getMessage(String code, String defaultMessage) Retrieve the message for the given code and the default Locale. |
String | getMessage(String code, Locale locale) Retrieve the message for the given code and the given Locale. |
String | getMessage(String code, @Nullable Object[] args) Retrieve the message for the given code and the default Locale. |
String | getMessage(MessageSourceResolvable resolvable, Locale locale) Retrieve the given MessageSourceResolvable (e.g. |
String | getMessage(String code) Retrieve the message for the given code and the default Locale. |
String | getMessage(MessageSourceResolvable resolvable) Retrieve the given MessageSourceResolvable (e.g. |