Package org.consensusj.currency
Class BitcoinCurrencyProvider
java.lang.Object
org.consensusj.currency.BitcoinCurrencyProvider
- All Implemented Interfaces:
javax.money.spi.CurrencyProviderSpi
A BitcoinCurrencyProvider based on work in the javamoney-shelter.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSet
<javax.money.CurrencyUnit> getCurrencies
(javax.money.CurrencyQuery query) Return aCurrencyUnit
instances matching the givenCurrencyQuery
.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.money.spi.CurrencyProviderSpi
getProviderName, isCurrencyAvailable
-
Constructor Details
-
BitcoinCurrencyProvider
public BitcoinCurrencyProvider()
-
-
Method Details
-
getCurrencies
Return aCurrencyUnit
instances matching the givenCurrencyQuery
.- Specified by:
getCurrencies
in interfacejavax.money.spi.CurrencyProviderSpi
- Parameters:
query
- theCurrencyQuery
containing the parameters determining the query. not null.- Returns:
- the corresponding
CurrencyUnit
s matching, never null.
-