Java org.springframework.context.support MessageSourceAccessor fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.context.support MessageSourceAccessor fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.context.support MessageSourceAccessor.

The text is from its open source code.

Constructor

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.

Method

StringgetMessage(String code, String defaultMessage, Locale locale)
Retrieve the message for the given code and the given Locale.
StringgetMessage(String code, @Nullable Object[] args, String defaultMessage)
Retrieve the message for the given code and the default Locale.
StringgetMessage(String code, @Nullable Object[] args, Locale locale)
Retrieve the message for the given code and the given Locale.
StringgetMessage(String code, String defaultMessage)
Retrieve the message for the given code and the default Locale.
StringgetMessage(String code, Locale locale)
Retrieve the message for the given code and the given Locale.
StringgetMessage(String code, @Nullable Object[] args)
Retrieve the message for the given code and the default Locale.
StringgetMessage(MessageSourceResolvable resolvable, Locale locale)
Retrieve the given MessageSourceResolvable (e.g.
StringgetMessage(String code)
Retrieve the message for the given code and the default Locale.
StringgetMessage(MessageSourceResolvable resolvable)
Retrieve the given MessageSourceResolvable (e.g.