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 java.lang.String |
getLocaleCurrencySymbol() |
static java.lang.String |
getLocaleDecimalSymbol() |
static java.lang.String |
getLocaleGroupingSymbol() |
static java.lang.String |
getLocaleNegativeSymbol() |
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 java.lang.String getLocaleCurrencySymbol()
public static java.lang.String getLocaleDecimalSymbol()
public static java.lang.String getLocaleGroupingSymbol()
public static java.lang.String getLocaleNegativeSymbol()
public static double parseNum(java.lang.String string)
public static void initMessages(SmartGwtMessages messages)
messages
- the SmartGWT messages