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

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

Introduction

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

The text is from its open source code.

Constructor

Method

voidaddMessage(String code, Locale locale, String msg)
Associate the given message with the given code.
voidaddMessages(Map messages, Locale locale)
Associate the given message values with the given keys as codes.
voidsetUseCodeAsDefaultMessage(boolean useCodeAsDefaultMessage)
Set whether to use the message code as default message instead of throwing a NoSuchMessageException.