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 ConversionQueryConversionQueryBuilder. build()Creates a new instance ofConversionQuery.Methods in javax.money.convert with parameters of type ConversionQuery Modifier and Type Method Description static CurrencyConversionMonetaryConversions. getConversion(ConversionQuery conversionQuery)Access an instance ofCurrencyConversionfor the given providers.CurrencyConversionExchangeRateProvider. getCurrencyConversion(ConversionQuery conversionQuery)Access aCurrencyConversionthat can be applied as aMonetaryOperatorto an amount.ExchangeRateExchangeRateProvider. getExchangeRate(ConversionQuery conversionQuery)Access aExchangeRateusing the given currencies.static ExchangeRateProviderMonetaryConversions. getExchangeRateProvider(ConversionQuery conversionQuery)Access an instance ofCurrencyConversionusing the given providers as a provider chain.default booleanExchangeRateProvider. isAvailable(ConversionQuery conversionQuery)Checks if anExchangeRatebetween twoCurrencyUnitis available from this provider.static booleanMonetaryConversions. isConversionAvailable(ConversionQuery conversionQuery)Checks if aCurrencyConversionis available for the given parameters.static booleanMonetaryConversions. isExchangeRateProviderAvailable(ConversionQuery conversionQuery)Checks if aExchangeRateProvideris available for the given parameters.static ConversionQueryBuilderConversionQueryBuilder. of(ConversionQuery query)Creates a newConversionQueryBuilderinstance. -
Uses of ConversionQuery in javax.money.spi
Methods in javax.money.spi with parameters of type ConversionQuery Modifier and Type Method Description default CurrencyConversionMonetaryConversionsSingletonSpi. getConversion(ConversionQuery conversionQuery)Access an instance ofCurrencyConversion.ExchangeRateProviderMonetaryConversionsSingletonSpi. getExchangeRateProvider(ConversionQuery conversionQuery)Access an instance ofExchangeRateProvider.default booleanMonetaryConversionsSingletonSpi. isConversionAvailable(ConversionQuery conversionQuery)Allows to quickly check, if aCurrencyConversionis accessible for the givenConversionQuery.default booleanMonetaryConversionsSingletonSpi. isExchangeRateProviderAvailable(ConversionQuery conversionQuery)Allows to quickly check, if aExchangeRateProvideris accessible for the givenConversionQuery.