public class I18nUtil
extends java.lang.Object
Constructor and Description |
---|
I18nUtil() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
formatLocaleCurrency(java.lang.Object value) |
static java.lang.String |
formatLocaleFloat(java.lang.Object value,
java.lang.Object precision) |
static java.lang.String |
formatLocaleInt(java.lang.Object value) |
static void |
init()
Setup SmartGWT i18n.
|
static void |
initMessages(SmartGwtMessages messages)
Initialize Smart GWT with i18n translations.
|
static double |
parseNum(java.lang.String string) |
public static void init()
public static java.lang.String formatLocaleInt(java.lang.Object value)
public static java.lang.String formatLocaleFloat(java.lang.Object value, java.lang.Object precision)
public static java.lang.String formatLocaleCurrency(java.lang.Object value)
public static double parseNum(java.lang.String string)
public static void initMessages(SmartGwtMessages messages)
messages
- the SmartGWT messages