public class I18nHelper extends Object
Modifier and Type | Field and Description |
---|---|
protected Map<String,String> |
messages |
static Pattern |
PLACEHOLDER |
Constructor and Description |
---|
I18nHelper(Map<String,String> messages) |
Modifier and Type | Method and Description |
---|---|
static I18nHelper |
instanceFor(Map<String,String> messages) |
static String |
interpolate(String message,
Object... params) |
String |
translate(String label,
Object... params) |
public static final Pattern PLACEHOLDER
public I18nHelper(Map<String,String> messages)
public static I18nHelper instanceFor(Map<String,String> messages)
public static String interpolate(String message, Object... params)
Copyright © 2015 Nuxeo SA. All rights reserved.