| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected final void | registerCountry(String
the country code, not null countryCode, String the currency code, not null currencyCode)Registers a country allowing it to be used. |
| protected abstract void | |
| protected final void | registerCurrency(String
the currency code, not null currencyCode, int the numeric currency code, -1 if none numericCurrencyCode, int the number of decimal places that the currency
normally has, from 0 to 3, or -1 for a pseudo-currency decimalPlaces)Registers a currency allowing it to be used. |
| CurrencyUnitDataProvider | back to summary |
|---|---|
| public CurrencyUnitDataProvider() | |
| registerCountry | back to summary |
|---|---|
| protected final void registerCountry(String countryCode, String currencyCode) Registers a country allowing it to be used.
This method is called by | |
| registerCurrencies | back to summary |
|---|---|
| protected abstract void registerCurrencies() throws Exception Registers all the currencies known by this provider.
| |
| registerCurrency | back to summary |
|---|---|
| protected final void registerCurrency(String currencyCode, int numericCurrencyCode, int decimalPlaces) Registers a currency allowing it to be used.
This method is called by
| |