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<javax.money.CurrencyUnit> |
getCurrencies(javax.money.CurrencyQuery currencyQuery)
Return a
CurrencyUnit instances matching the given
CurrencyContext . |
String |
getProviderName()
The unique name of this currency provider instance.
|
isCurrencyAvailable
public JDKCurrencyProvider()
public String getProviderName()
BaseCurrencyProviderSpi
getProviderName
in interface javax.money.spi.CurrencyProviderSpi
getProviderName
in class BaseCurrencyProviderSpi
public Set<javax.money.CurrencyUnit> getCurrencies(javax.money.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-2015 JavaMoney. All Rights Reserved.