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.
|
Modifier and Type | Method and Description |
---|---|
ConversionQuery |
ConversionQueryBuilder.build()
Creates a new instance of
ConversionQuery . |
Modifier and Type | Method and Description |
---|---|
static CurrencyConversion |
MonetaryConversions.getConversion(ConversionQuery conversionQuery)
Access an instance of
CurrencyConversion for the given providers. |
CurrencyConversion |
ExchangeRateProvider.getCurrencyConversion(ConversionQuery conversionQuery)
Access a
CurrencyConversion that can be applied as a
MonetaryOperator to an amount. |
ExchangeRate |
ExchangeRateProvider.getExchangeRate(ConversionQuery conversionQuery)
Access a
ExchangeRate using the given currencies. |
static ExchangeRateProvider |
MonetaryConversions.getExchangeRateProvider(ConversionQuery conversionQuery)
Access an instance of
CurrencyConversion using the given
providers as a provider chain. |
default boolean |
ExchangeRateProvider.isAvailable(ConversionQuery conversionQuery)
Checks if an
ExchangeRate between two CurrencyUnit is
available from this provider. |
static boolean |
MonetaryConversions.isConversionAvailable(ConversionQuery conversionQuery)
Checks if a
CurrencyConversion is available for the given parameters. |
static boolean |
MonetaryConversions.isExchangeRateProviderAvailable(ConversionQuery conversionQuery)
Checks if a
ExchangeRateProvider is available for the given parameters. |
static ConversionQueryBuilder |
ConversionQueryBuilder.of(ConversionQuery query)
Creates a new
ConversionQueryBuilder instance. |
Modifier and Type | Method and Description |
---|---|
default CurrencyConversion |
MonetaryConversionsSingletonSpi.getConversion(ConversionQuery conversionQuery)
Access an instance of
CurrencyConversion . |
ExchangeRateProvider |
MonetaryConversionsSingletonSpi.getExchangeRateProvider(ConversionQuery conversionQuery)
Access an instance of
ExchangeRateProvider . |
default boolean |
MonetaryConversionsSingletonSpi.isConversionAvailable(ConversionQuery conversionQuery)
Allows to quickly check, if a
CurrencyConversion is accessible for the given
ConversionQuery . |
default boolean |
MonetaryConversionsSingletonSpi.isExchangeRateProviderAvailable(ConversionQuery conversionQuery)
Allows to quickly check, if a
ExchangeRateProvider is accessible for the given
ConversionQuery . |
Copyright © 2012–2016 JSR 354 - Expert Group. All rights reserved.