public class LuteceMessageInterpolator extends Object implements javax.validation.MessageInterpolator
Constructor and Description |
---|
LuteceMessageInterpolator()
Constructor;
|
Modifier and Type | Method and Description |
---|---|
String |
interpolate(String messageTemplate,
javax.validation.MessageInterpolator.Context context) |
String |
interpolate(String messageTemplate,
javax.validation.MessageInterpolator.Context context,
Locale locale) |
static void |
setLocale(Locale locale)
Sets the locale for messages
|
public static void setLocale(Locale locale)
locale
- The localepublic String interpolate(String messageTemplate, javax.validation.MessageInterpolator.Context context)
interpolate
in interface javax.validation.MessageInterpolator
Copyright © 2020 City of Paris. All rights reserved.