public interface GroovyAwareMessageSource extends MessageSource
REF_KEY_END, REF_KEY_START
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAt(java.util.List<?> keyAndArgs)
Try to resolve the message.
|
java.lang.String |
getAt(java.lang.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 java.lang.String getAt(@Nonnull java.lang.String key) throws NoSuchMessageException
key
- Key to lookup, such as 'log4j.appenders.console'NoSuchMessageException
- if no message is found@Nonnull java.lang.String getAt(@Nonnull java.util.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