Package | Description |
---|---|
com.google.gwt.i18n.client |
Internationalization support for GWT applications.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultCurrencyData
A default
CurrencyData implementation, so new methods can be added
to the interface without breaking implementors if a reasonable default is
available. |
Modifier and Type | Field and Description |
---|---|
protected java.util.HashMap<java.lang.String,CurrencyData> |
CurrencyList.dataMapJava
Map of currency codes to CurrencyData.
|
Modifier and Type | Method and Description |
---|---|
CurrencyData |
CurrencyList.getDefault()
Return the default currency data for this locale.
|
protected CurrencyData |
CurrencyList.getDefaultJava()
Return the default currency data for this locale.
|
protected CurrencyData |
CurrencyList.getDefaultNative()
Return the default currency data for this locale.
|
CurrencyData |
CurrencyList.lookup(java.lang.String currencyCode)
Lookup a currency based on the ISO4217 currency code.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<CurrencyData> |
CurrencyList.iterator()
Returns an iterator for the list of currencies.
|
java.util.Iterator<CurrencyData> |
CurrencyList.iterator(boolean includeDeprecated)
Returns an iterator for the list of currencies, optionally including
deprecated ones.
|
protected java.util.HashMap<java.lang.String,CurrencyData> |
CurrencyList.loadCurrencyMapJava()
Loads the currency map.
|
Modifier and Type | Method and Description |
---|---|
static NumberFormat |
NumberFormat.getCurrencyFormat(CurrencyData currencyData)
Provides the standard currency format for the current locale using a
specified currency.
|
static NumberFormat |
NumberFormat.getFormat(java.lang.String pattern,
CurrencyData currencyData)
Gets a custom
NumberFormat instance for the default locale
using the specified pattern and currency code. |
static NumberFormat |
NumberFormat.getGlobalCurrencyFormat(CurrencyData currencyData)
Provides the global currency format for the current locale, using a
specified currency.
|
static NumberFormat |
NumberFormat.getSimpleCurrencyFormat(CurrencyData currencyData)
Provides the simple currency format for the current locale using a
specified currency.
|
Constructor and Description |
---|
NumberFormat(NumberConstants numberConstants,
java.lang.String pattern,
CurrencyData cdata,
boolean userSuppliedPattern)
Constructs a format object based on the specified settings.
|
NumberFormat(java.lang.String pattern,
CurrencyData cdata,
boolean userSuppliedPattern)
Constructs a format object for the default locale based on the specified
settings.
|