Package | Description |
---|---|
javax.money.convert |
Defines the monetary currency conversion API.
|
Modifier and Type | Method and Description |
---|---|
ProviderContext |
ProviderContextBuilder.build()
Creates a new
ProviderContext with the data from this Builder
instance. |
ProviderContext |
ExchangeRateProvider.getContext()
Access the
ConversionContext for this
ExchangeRateProvider . |
static ProviderContext |
ProviderContext.of(String provider)
Creates a new ProviderContext based on the provider id and rate type(s).
|
static ProviderContext |
ProviderContext.of(String provider,
RateType rateType,
RateType... rateTypes)
Creates a new ProviderContext based on the provider id and rate type(s).
|
Modifier and Type | Method and Description |
---|---|
static ProviderContextBuilder |
ProviderContextBuilder.create(ProviderContext context)
Create a new ProviderContextBuilder, hereby using the given
ProviderContext
's values as defaults. |
static ConversionContextBuilder |
ConversionContextBuilder.create(ProviderContext context,
RateType rateType)
Create a new Builder, hereby using the given
ConversionContext 's values as defaults. |
static ConversionContext |
ConversionContext.from(ProviderContext providerContext,
RateType rateType)
Creates a new ConversionContext for the given
ProviderContext and the given RateType . |
Copyright © 2012–2016 JSR 354 - Expert Group. All rights reserved.