Uses of Class
javax.money.convert.ConversionQuery
Package | Description |
---|---|
javax.money.convert |
Defines the monetary currency conversion API.
|
javax.money.spi |
SPI interfaces of the Money and Currency API, including bootstrap logic.
|
-
Uses of ConversionQuery in javax.money.convert
Methods in javax.money.convert that return ConversionQuery Modifier and Type Method Description ConversionQuery
ConversionQueryBuilder. build()
Creates a new instance ofConversionQuery
.Methods in javax.money.convert with parameters of type ConversionQuery Modifier and Type Method Description static CurrencyConversion
MonetaryConversions. getConversion(ConversionQuery conversionQuery)
Access an instance ofCurrencyConversion
for the given providers.CurrencyConversion
ExchangeRateProvider. getCurrencyConversion(ConversionQuery conversionQuery)
Access aCurrencyConversion
that can be applied as aMonetaryOperator
to an amount.ExchangeRate
ExchangeRateProvider. getExchangeRate(ConversionQuery conversionQuery)
Access aExchangeRate
using the given currencies.static ExchangeRateProvider
MonetaryConversions. getExchangeRateProvider(ConversionQuery conversionQuery)
Access an instance ofCurrencyConversion
using the given providers as a provider chain.default boolean
ExchangeRateProvider. isAvailable(ConversionQuery conversionQuery)
Checks if anExchangeRate
between twoCurrencyUnit
is available from this provider.static boolean
MonetaryConversions. isConversionAvailable(ConversionQuery conversionQuery)
Checks if aCurrencyConversion
is available for the given parameters.static boolean
MonetaryConversions. isExchangeRateProviderAvailable(ConversionQuery conversionQuery)
Checks if aExchangeRateProvider
is available for the given parameters.static ConversionQueryBuilder
ConversionQueryBuilder. of(ConversionQuery query)
Creates a newConversionQueryBuilder
instance. -
Uses of ConversionQuery in javax.money.spi
Methods in javax.money.spi with parameters of type ConversionQuery Modifier and Type Method Description default CurrencyConversion
MonetaryConversionsSingletonSpi. getConversion(ConversionQuery conversionQuery)
Access an instance ofCurrencyConversion
.ExchangeRateProvider
MonetaryConversionsSingletonSpi. getExchangeRateProvider(ConversionQuery conversionQuery)
Access an instance ofExchangeRateProvider
.default boolean
MonetaryConversionsSingletonSpi. isConversionAvailable(ConversionQuery conversionQuery)
Allows to quickly check, if aCurrencyConversion
is accessible for the givenConversionQuery
.default boolean
MonetaryConversionsSingletonSpi. isExchangeRateProviderAvailable(ConversionQuery conversionQuery)
Allows to quickly check, if aExchangeRateProvider
is accessible for the givenConversionQuery
.