Uses of Class
javax.money.convert.ConversionContext
| Package | Description | 
|---|---|
| javax.money.convert | Defines the monetary currency conversion API. | 
- 
Uses of ConversionContext in javax.money.convertFields in javax.money.convert declared as ConversionContext Modifier and Type Field Description static ConversionContextConversionContext. ANY_CONVERSIONConversionContext that queries any conversion available.static ConversionContextConversionContext. DEFERRED_CONVERSIONConversionContext querying for any deferred rates.static ConversionContextConversionContext. HISTORIC_CONVERSIONConversionContext querying for any historic rates.static ConversionContextConversionContext. OTHER_CONVERSIONConversionContext querying for any other rates.static ConversionContextConversionContext. REALTIME_CONVERSIONConversionContext querying for real-time rates.Methods in javax.money.convert that return ConversionContext Modifier and Type Method Description ConversionContextConversionContextBuilder. build()Creates a newConversionContextwith the data from this Builder instance.static ConversionContextConversionContext. from(ProviderContext providerContext, RateType rateType)Creates a new ConversionContext for the givenProviderContextand the givenRateType.ConversionContextCurrencyConversion. getContext()Access the targetConversionContextof this conversion instance.ConversionContextExchangeRate. getContext()Access theConversionContextofExchangeRate.ConversionContextCurrencyConversionException. getConversionContext()Gets the queried timestamp at fault.static ConversionContextConversionContext. of()Simple factory method forConversionContext.static ConversionContextConversionContext. of(java.lang.String provider, RateType rateType)Simple factory method forConversionContext.static ConversionContextConversionContext. of(RateType rateType)Creates aConversionContextfor accessing rates of the given type, without specifying the rate's provider.Methods in javax.money.convert with parameters of type ConversionContext Modifier and Type Method Description static ConversionContextBuilderConversionContextBuilder. of(ConversionContext conversionContext)Creates a newConversionContextBuilderinstance.Constructors in javax.money.convert with parameters of type ConversionContext Constructor Description CurrencyConversionException(CurrencyUnit base, CurrencyUnit term, ConversionContext conversionContext)Constructs anCurrencyConversionExceptionwith the specified source and target currency.CurrencyConversionException(CurrencyUnit base, CurrencyUnit term, ConversionContext conversionContext, java.lang.String message)Constructs anCurrencyConversionExceptionwith the specified detail message, timestamp, source and target currency.CurrencyConversionException(CurrencyUnit base, CurrencyUnit term, ConversionContext conversionContext, java.lang.String message, java.lang.Throwable cause)Constructs a new exception with the specified source and target currency, detail message and cause.