public class CustomMessageResolver extends Object implements org.thymeleaf.messageresolver.IMessageResolver
| Modifier and Type | Field and Description |
|---|---|
protected Properties |
defaultMessages
Default properties "messages.properties".
|
static org.slf4j.Logger |
LOGGER
Logger for this class.
|
protected Map<String,Properties> |
messages
Properties per Locale.
|
| Constructor and Description |
|---|
CustomMessageResolver()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
Integer |
getOrder() |
void |
initialize() |
org.thymeleaf.messageresolver.MessageResolution |
resolveMessage(org.thymeleaf.Arguments args,
String key,
Object[] msgParams) |
public static final org.slf4j.Logger LOGGER
protected Map<String,Properties> messages
protected final Properties defaultMessages
public void initialize()
initialize in interface org.thymeleaf.messageresolver.IMessageResolverpublic org.thymeleaf.messageresolver.MessageResolution resolveMessage(org.thymeleaf.Arguments args,
String key,
Object[] msgParams)
resolveMessage in interface org.thymeleaf.messageresolver.IMessageResolverpublic Integer getOrder()
getOrder in interface org.thymeleaf.messageresolver.IMessageResolverpublic String getName()
getName in interface org.thymeleaf.messageresolver.IMessageResolverCopyright © 2013–2018 FF4J. All rights reserved.