Top Description Interfaces Classes Enums
module java.money

Package javax.money.convert


Defines the monetary currency conversion API.

Interface Summary

Modifier and TypeInterface and Description
public interface
CurrencyConversion

This interface defines a CurrencyConversion that is converting a MonetaryAmount to another MonetaryAmount with a different target CurrencyUnit.

public interface
ExchangeRate

This class models an exchange rate, which defines the factor the numeric value of a base amount in some currency 'A' must be multiplied to get the corresponding amount in the terminating currency 'B'.

public interface
ExchangeRateProvider

This interface defines access to the exchange rates provided by a provider.

public interface
ExchangeRateProviderSupplier

A supplier of ExchangeRateProvider name that references an implementation.

Class Summary

Modifier and TypeClass and Description
public class
ConversionContext

This class models a context for which a ExchangeRate is valid.

public class
ConversionContextBuilder

Builder class to of ConversionContext instances.

public class
public class
ConversionQueryBuilder

Builder class for creating new instances of javax.money.convert.ConversionQuery adding detailed information about a javax.money.convert.CurrencyConversion instance.

public class
CurrencyConversionException

Exception thrown when a monetary conversion operation fails.

public class
MonetaryConversions

This singleton defines access to the exchange and currency conversion logic of JavaMoney.

public class
ProviderContext

This class describes what kind of javax.money.convert.ExchangeRates a .ExchangeRateProvider delivers, including the provider's name, rate type and additional data.

public class
ProviderContextBuilder

Builder class to of ProviderContext instances.

Enum Summary

Modifier and TypeEnum and Description
public enum
RateType

This enumeration defines the different type of rates that can be provided by .ExchangeRateProvider implementations.