ExchangeRateProvider implementations.
| Modifier and Type | Field and Description |
|---|---|
| private final ProviderContext | context
The |
| protected final Logger | log
Deprecated
|
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected static NumberValue | Returns: the result of the division asNumberValuethe first value to be divided dividend, NumberValue the value to be divided by divisor)A protected helper method to divide 2 |
| protected static NumberValue | Returns: the result of the division asNumberValuethe first value to be divided dividend, NumberValue the value to be divided by divisor, MathContext the context)MathContext to useA protected helper method to divide 2 |
| public ProviderContext | getContext()
Implements javax. Access the |
| public CurrencyConversion | getCurrencyConversion(ConversionQuery conversionQuery)
Implements javax. Access a |
| protected ConversionContext | |
| public abstract ExchangeRate | getExchangeRate(ConversionQuery conversionQuery)
Redeclares javax. Access a |
| protected LocalDate[] | |
| protected int | |
| protected static NumberValue | Returns: the result of the multiplication asNumberValuethe first value to be multiplied multiplicand, NumberValue the second value to be multiplied multiplier)A protected helper method to multiply 2 |
| context | back to summary |
|---|---|
| private final ProviderContext context The | |
| log | back to summary |
|---|---|
| protected final Logger log
Deprecated
| |
| AbstractRateProvider | back to summary |
|---|---|
| public AbstractRateProvider(ProviderContext providerContext) Constructor.
| |
| divide | back to summary |
|---|---|
| protected static NumberValue divide(NumberValue dividend, NumberValue divisor) A protected helper method to divide 2
| |
| divide | back to summary |
|---|---|
| protected static NumberValue divide(NumberValue dividend, NumberValue divisor, MathContext context) A protected helper method to divide 2
| |
| getContext | back to summary |
|---|---|
| public ProviderContext getContext() Implements javax. Doc from javax. Access the
| |
| getCurrencyConversion | back to summary |
|---|---|
| public CurrencyConversion getCurrencyConversion(ConversionQuery conversionQuery) Implements javax. Doc from javax. Access a
| |
| getExchangeContext | back to summary |
|---|---|
| protected ConversionContext getExchangeContext(String key) | |
| getExchangeRate | back to summary |
|---|---|
| public abstract ExchangeRate getExchangeRate(ConversionQuery conversionQuery) Redeclares javax. Doc from javax. Access a
| |
| getQueryDates | back to summary |
|---|---|
| protected LocalDate[] getQueryDates(ConversionQuery query) | |
| getScale | back to summary |
|---|---|
| protected int getScale(String key) | |
| multiply | back to summary |
|---|---|
| protected static NumberValue multiply(NumberValue multiplicand, NumberValue multiplier) A protected helper method to multiply 2
| |