Example usage for Java org.springframework.context.support StaticMessageSource fields, constructors, methods, implement or subclass
The text is from its open source code.
void | addMessage(String code, Locale locale, String msg) Associate the given message with the given code. |
void | addMessages(Map Associate the given message values with the given keys as codes. |
void | setUseCodeAsDefaultMessage(boolean useCodeAsDefaultMessage) Set whether to use the message code as default message instead of throwing a NoSuchMessageException. |