Uses of Class
javax.money.convert.ConversionQuery
Packages that use ConversionQuery
Package
Description
Defines the monetary currency conversion API.
SPI interfaces of the Money and Currency API, including bootstrap logic.
-
Uses of ConversionQuery in javax.money.convert
Subclasses with type arguments of type ConversionQuery in javax.money.convertModifier and TypeClassDescriptionfinal classBuilder class for creating new instances ofConversionQueryadding detailed information about aCurrencyConversioninstance.Methods in javax.money.convert that return ConversionQueryModifier and TypeMethodDescriptionConversionQueryBuilder.build()Creates a new instance ofConversionQuery.Methods in javax.money.convert with parameters of type ConversionQueryModifier and TypeMethodDescriptionstatic CurrencyConversionMonetaryConversions.getConversion(ConversionQuery conversionQuery) Access an instance ofCurrencyConversionfor the given providers.ExchangeRateProvider.getCurrencyConversion(ConversionQuery conversionQuery) Access aCurrencyConversionthat can be applied as aMonetaryOperatorto an amount.ExchangeRateProvider.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 ConversionQueryModifier and TypeMethodDescriptiondefault CurrencyConversionMonetaryConversionsSingletonSpi.getConversion(ConversionQuery conversionQuery) Access an instance ofCurrencyConversion.MonetaryConversionsSingletonSpi.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.