Uses of Class
javax.money.convert.ProviderContext
Package | Description |
---|---|
javax.money.convert |
Defines the monetary currency conversion API.
|
-
Uses of ProviderContext in javax.money.convert
Methods in javax.money.convert that return ProviderContext Modifier and Type Method Description ProviderContext
ProviderContextBuilder. build()
Creates a newProviderContext
with the data from this Builder instance.ProviderContext
ExchangeRateProvider. getContext()
Access theConversionContext
for thisExchangeRateProvider
.static ProviderContext
ProviderContext. of(java.lang.String provider)
Creates a new ProviderContext based on the provider id and rate type(s).static ProviderContext
ProviderContext. of(java.lang.String provider, RateType rateType, RateType... rateTypes)
Creates a new ProviderContext based on the provider id and rate type(s).Methods in javax.money.convert with parameters of type ProviderContext Modifier and Type Method Description static ConversionContextBuilder
ConversionContextBuilder. create(ProviderContext context, RateType rateType)
Create a new Builder, hereby using the givenConversionContext
's values as defaults.static ProviderContextBuilder
ProviderContextBuilder. create(ProviderContext context)
Create a new ProviderContextBuilder, hereby using the givenProviderContext
's values as defaults.static ConversionContext
ConversionContext. from(ProviderContext providerContext, RateType rateType)
Creates a new ConversionContext for the givenProviderContext
and the givenRateType
.