public interface MessageProvider
MessageProvider provides messages for a CompositeMessageSource.
There can be multiple message provider beans in the same application context.| Modifier and Type | Method and Description |
|---|---|
MessageFormat |
resolveCode(String s,
Locale locale)
Attempts to resolve the specified code for the specified locale.
|
MessageFormat resolveCode(String s, Locale locale)
s - the code of the message, must not be null.locale - the locale, must not be null.MessageFormat for the message, or null if not found.Copyright © 2016. All rights reserved.