public final class Interpolator extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected static Interpolator |
instance |
| Modifier and Type | Method and Description |
|---|---|
static Interpolator |
instance()
Return singleton interpolator instance.
|
String |
interpolate(String messageText,
Locale locale,
Object... arguments)
Replace all EL expressions in the form {...} with their evaluated values and
current locale.
|
String |
interpolate(String messageText,
Object... arguments)
Replace all EL expressions in the form {...} with their evaluated values .
|
protected static volatile Interpolator instance
public static Interpolator instance()
public String interpolate(String messageText, Object... arguments)
string - a templateCopyright © 2017 PAWLIDI.DE. All rights reserved.