Uses of Class
javax.money.convert.ConversionContext
Packages that use ConversionContext
-
Uses of ConversionContext in javax.money.convert
Fields in javax.money.convert declared as ConversionContextModifier and TypeFieldDescriptionstatic final ConversionContextConversionContext.ANY_CONVERSIONConversionContext that queries any conversion available.private final ConversionContextCurrencyConversionException.conversionContextThe acquiredConversionContext, may be null.static final ConversionContextConversionContext.DEFERRED_CONVERSIONConversionContext querying for any deferred rates.static final ConversionContextConversionContext.HISTORIC_CONVERSIONConversionContext querying for any historic rates.static final ConversionContextConversionContext.OTHER_CONVERSIONConversionContext querying for any other rates.static final ConversionContextConversionContext.REALTIME_CONVERSIONConversionContext querying for real-time rates.Methods in javax.money.convert that return ConversionContextModifier and TypeMethodDescriptionConversionContextBuilder.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.CurrencyConversion.getContext()Access the targetConversionContextof this conversion instance.ExchangeRate.getContext()Access theConversionContextofExchangeRate.CurrencyConversionException.getConversionContext()Gets the queried timestamp at fault.static ConversionContextConversionContext.of()Simple factory method forConversionContext.static ConversionContextSimple factory method forConversionContext.static ConversionContextCreates aConversionContextfor accessing rates of the given type, without specifying the rate's provider.Methods in javax.money.convert with parameters of type ConversionContextModifier and TypeMethodDescriptionstatic ConversionContextBuilderConversionContextBuilder.of(ConversionContext conversionContext) Creates a newConversionContextBuilderinstance.Constructors in javax.money.convert with parameters of type ConversionContextModifierConstructorDescriptionprivateCreate a new Builder, hereby using the givenConversionContext's values as defaults.CurrencyConversionException(CurrencyUnit base, CurrencyUnit term, ConversionContext conversionContext) Constructs anCurrencyConversionExceptionwith the specified source and target currency.CurrencyConversionException(CurrencyUnit base, CurrencyUnit term, ConversionContext conversionContext, String message) Constructs anCurrencyConversionExceptionwith the specified detail message, timestamp, source and target currency.CurrencyConversionException(CurrencyUnit base, CurrencyUnit term, ConversionContext conversionContext, String message, Throwable cause) Constructs a new exception with the specified source and target currency, detail message and cause.