public class JDKCurrencyProvider extends Object implements javax.money.spi.CurrencyProviderSpi
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() |
public JDKCurrencyProvider()
public String getProviderName()
getProviderName
in interface javax.money.spi.CurrencyProviderSpi
public Set<javax.money.CurrencyUnit> getCurrencies(javax.money.CurrencyQuery currencyQuery)
CurrencyUnit
instances matching the given
CurrencyContext
.getCurrencies
in interface javax.money.spi.CurrencyProviderSpi
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.