public class JDKCurrencyProvider extends BaseCurrencyProviderSpi
CurrencyUnit based on the using the JDK's
Currency.| Constructor and Description |
|---|
JDKCurrencyProvider() |
| Modifier and Type | Method and Description |
|---|---|
Set<CurrencyUnit> |
getCurrencies(CurrencyQuery currencyQuery)
Return a
CurrencyUnit instances matching the given
CurrencyContext. |
String |
getProviderName()
The unique name of this currency provider instance.
|
isCurrencyAvailablepublic JDKCurrencyProvider()
public String getProviderName()
BaseCurrencyProviderSpigetProviderName in interface CurrencyProviderSpigetProviderName in class BaseCurrencyProviderSpipublic Set<CurrencyUnit> getCurrencies(CurrencyQuery currencyQuery)
CurrencyUnit instances matching the given
CurrencyContext.currencyQuery - the CurrencyContext containing the parameters determining the query. not null.CurrencyUnit, or null, if no such unit
is provided by this provider.Copyright © 2012–2020 JavaMoney. All rights reserved.