public interface GroovyAwareMessageSource extends MessageSource
REF_KEY_END, REF_KEY_START| Modifier and Type | Method and Description |
|---|---|
String |
getAt(List<?> keyAndArgs)
Try to resolve the message.
|
String |
getAt(String key)
Try to resolve the message.
|
asResourceBundle, formatMessage, formatMessage, formatMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, resolveMessageValue@Nonnull String getAt(@Nonnull String key) throws NoSuchMessageException
key - Key to lookup, such as 'log4j.appenders.console'NoSuchMessageException - if no message is found@Nonnull String getAt(@Nonnull List<?> keyAndArgs) throws NoSuchMessageException
keyAndArgs - Key to lookup, such as 'log4j.appenders.console' and arguments
that will be filled in for params within the message (params look like "{0}" within a
message, but this might differ between implementations), or null if none.NoSuchMessageException - if no message is found