Dependencies
Declarations
-
javax
-
money
-
AbstractContext
- serialVersionUID: long
- KEY_PROVIDER: String
- data: Map<String, Object>
- AbstractContext(AbstractContextBuilder<AbstractContextBuilder, AbstractContext>): void
- getKeys(Class<Object>): Set<String>
- getType(String): Class<Object>
- get(String, Class<Object>): Object
- get(Class<Object>): Object
- getLong(String): Long
- getFloat(String): Float
- getInt(String): Integer
- getBoolean(String): Boolean
- getDouble(String): Double
- getText(String): String
- getProviderName(): String
- isEmpty(): boolean
- hashCode(): int
- equals(Object): boolean
- toString(): String
-
AbstractContextBuilder
- data: Map<String, Object>
- importContext(AbstractContext, boolean): AbstractContextBuilder
- importContext(AbstractContext): AbstractContextBuilder
- set(String, int): AbstractContextBuilder
- set(String, boolean): AbstractContextBuilder
- set(String, long): AbstractContextBuilder
- set(String, float): AbstractContextBuilder
- set(String, double): AbstractContextBuilder
- set(String, char): AbstractContextBuilder
- set(Object): AbstractContextBuilder
- set(String, Object): AbstractContextBuilder
- set(Class<Object>, Object): AbstractContextBuilder
- setProviderName(String): AbstractContextBuilder
- removeAttributes(String[]): AbstractContextBuilder
- build(): AbstractContext
- toString(): String
- AbstractQuery
- AbstractQueryBuilder
- CurrencyContext
- CurrencyContextBuilder
-
CurrencyQuery
- serialVersionUID: long
- KEY_QUERY_COUNTRIES: String
- KEY_QUERY_CURRENCY_CODES: String
- KEY_QUERY_NUMERIC_CODES: String
- CurrencyQuery(CurrencyQueryBuilder): void
- getCountries(): Collection<Locale>
- getCurrencyCodes(): Collection<String>
- getNumericCodes(): Collection<Integer>
- toBuilder(): CurrencyQueryBuilder
- CurrencyQueryBuilder
- CurrencySupplier
- CurrencyUnit
- DefaultMonetaryCurrenciesSingletonSpi
-
DefaultMonetaryRoundingsSingletonSpi
- DEFAULT_ROUNDING: MonetaryRounding
- createRoundingQueryBuilder(): RoundingQueryBuilder
- getDefaultRounding(): MonetaryRounding
- getRoundings(RoundingQuery): Collection<MonetaryRounding>
- getProviderNames(): Set<String>
- getDefaultProviderChain(): List<String>
- getRoundingNames(String[]): Set<String>
- DefaultCurrencyRounding
-
Monetary
- MONETARY_CURRENCIES_SINGLETON_SPI(): MonetaryCurrenciesSingletonSpi
- monetaryAmountsSingletonSpi(): MonetaryAmountsSingletonSpi
- monetaryAmountsSingletonQuerySpi(): MonetaryAmountsSingletonQuerySpi
- monetaryRoundingsSingletonSpi(): MonetaryRoundingsSingletonSpi
- Monetary(): void
- getRoundingProviderNames(): Set<String>
- getDefaultRoundingProviderChain(): List<String>
- getDefaultRounding(): MonetaryRounding
- getRounding(CurrencyUnit, String[]): MonetaryRounding
- getRounding(String, String[]): MonetaryRounding
- getRounding(RoundingQuery): MonetaryRounding
- isRoundingAvailable(String, String[]): boolean
- isRoundingAvailable(CurrencyUnit, String[]): boolean
- isRoundingAvailable(RoundingQuery): boolean
- getRoundings(RoundingQuery): Collection<MonetaryRounding>
- getRoundingNames(String[]): Set<String>
- getAmountFactory(Class<MonetaryAmount>): MonetaryAmountFactory<MonetaryAmount>
- getDefaultAmountFactory(): MonetaryAmountFactory<MonetaryAmount>
- getAmountFactories(): Collection<MonetaryAmountFactory<MonetaryAmount>>
- getAmountTypes(): Collection<Class<MonetaryAmount>>
- getDefaultAmountType(): Class<MonetaryAmount>
- getAmountFactory(MonetaryAmountFactoryQuery): MonetaryAmountFactory
- getAmountFactories(MonetaryAmountFactoryQuery): Collection<MonetaryAmountFactory<MonetaryAmount>>
- isAvailable(MonetaryAmountFactoryQuery): boolean
- getCurrency(String, String[]): CurrencyUnit
- getCurrency(Locale, String[]): CurrencyUnit
- getCurrencies(Locale, String[]): Set<CurrencyUnit>
- isCurrencyAvailable(String, String[]): boolean
- isCurrencyAvailable(Locale, String[]): boolean
- getCurrencies(String[]): Collection<CurrencyUnit>
- getCurrency(CurrencyQuery): CurrencyUnit
- getCurrencies(CurrencyQuery): Collection<CurrencyUnit>
- getCurrencyProviderNames(): Set<String>
- getDefaultCurrencyProviderChain(): List<String>
-
MonetaryAmount
- getContext(): MonetaryContext
- query(MonetaryQuery<Object>): Object
- with(MonetaryOperator): MonetaryAmount
- getFactory(): MonetaryAmountFactory<MonetaryAmount>
- isGreaterThan(MonetaryAmount): boolean
- isGreaterThanOrEqualTo(MonetaryAmount): boolean
- isLessThan(MonetaryAmount): boolean
- isLessThanOrEqualTo(MonetaryAmount): boolean
- isEqualTo(MonetaryAmount): boolean
- isNegative(): boolean
- isNegativeOrZero(): boolean
- isPositive(): boolean
- isPositiveOrZero(): boolean
- isZero(): boolean
- signum(): int
- add(MonetaryAmount): MonetaryAmount
- subtract(MonetaryAmount): MonetaryAmount
- multiply(long): MonetaryAmount
- multiply(double): MonetaryAmount
- multiply(Number): MonetaryAmount
- divide(long): MonetaryAmount
- divide(double): MonetaryAmount
- divide(Number): MonetaryAmount
- remainder(long): MonetaryAmount
- remainder(double): MonetaryAmount
- remainder(Number): MonetaryAmount
- divideAndRemainder(long): MonetaryAmount[]
- divideAndRemainder(double): MonetaryAmount[]
- divideAndRemainder(Number): MonetaryAmount[]
- divideToIntegralValue(long): MonetaryAmount
- divideToIntegralValue(double): MonetaryAmount
- divideToIntegralValue(Number): MonetaryAmount
- scaleByPowerOfTen(int): MonetaryAmount
- abs(): MonetaryAmount
- negate(): MonetaryAmount
- plus(): MonetaryAmount
- stripTrailingZeros(): MonetaryAmount
-
MonetaryAmountFactory
- getAmountType(): Class<MonetaryAmount>
- setCurrency(String): MonetaryAmountFactory<MonetaryAmount>
- setCurrency(CurrencyUnit): MonetaryAmountFactory<MonetaryAmount>
- setNumber(double): MonetaryAmountFactory<MonetaryAmount>
- setNumber(long): MonetaryAmountFactory<MonetaryAmount>
- setNumber(Number): MonetaryAmountFactory<MonetaryAmount>
- getMaxNumber(): NumberValue
- getMinNumber(): NumberValue
- setContext(MonetaryContext): MonetaryAmountFactory<MonetaryAmount>
- setAmount(MonetaryAmount): MonetaryAmountFactory<MonetaryAmount>
- create(): MonetaryAmount
- getDefaultMonetaryContext(): MonetaryContext
- getMaximalMonetaryContext(): MonetaryContext
- MonetaryAmountFactoryQuery
-
MonetaryAmountFactoryQueryBuilder
- MonetaryAmountFactoryQueryBuilder(MonetaryAmountFactoryQuery): void
- MonetaryAmountFactoryQueryBuilder(): void
- setMaxScale(int): MonetaryAmountFactoryQueryBuilder
- setPrecision(int): MonetaryAmountFactoryQueryBuilder
- setFixedScale(boolean): MonetaryAmountFactoryQueryBuilder
- build(): MonetaryAmountFactoryQuery
- of(): MonetaryAmountFactoryQueryBuilder
- of(MonetaryAmountFactoryQuery): MonetaryAmountFactoryQueryBuilder
-
MonetaryContext
- serialVersionUID: long
- AMOUNT_TYPE: String
- PRECISION: String
- FIXED_SCALE: String
- MAX_SCALE: String
- MonetaryContext(MonetaryContextBuilder): void
- getPrecision(): int
- isFixedScale(): boolean
- getMaxScale(): int
- getAmountType(): Class<MonetaryAmount>
- from(MonetaryAmountFactoryQuery, Class<MonetaryAmount>): MonetaryContext
- from(MonetaryContext, Class<MonetaryAmount>): MonetaryContext
- toBuilder(): MonetaryContextBuilder
-
MonetaryContextBuilder
- MonetaryContextBuilder(MonetaryContext): void
- MonetaryContextBuilder(Class<MonetaryAmount>): void
- setMaxScale(int): MonetaryContextBuilder
- setPrecision(int): MonetaryContextBuilder
- setFixedScale(boolean): MonetaryContextBuilder
- setAmountType(Class<MonetaryAmount>): MonetaryContextBuilder
- build(): MonetaryContext
- of(): MonetaryContextBuilder
- of(MonetaryContext): MonetaryContextBuilder
- of(Class<MonetaryAmount>): MonetaryContextBuilder
- MonetaryException
- MonetaryOperator
- MonetaryQuery
- MonetaryRounding
- NumberSupplier
-
NumberValue
- compareTo(NumberValue): int
- serialVersionUID: long
- getNumberType(): Class<Object>
- getPrecision(): int
- getScale(): int
- intValueExact(): int
- longValueExact(): long
- doubleValueExact(): double
- numberValue(Class<Number>): Number
- round(MathContext): NumberValue
- numberValueExact(Class<Number>): Number
- getAmountFractionNumerator(): long
- getAmountFractionDenominator(): long
- RoundingContext
- RoundingContextBuilder
- RoundingQuery
- RoundingQueryBuilder
- UnknownCurrencyException
-
convert
-
ConversionContext
- HISTORIC_CONVERSION: ConversionContext
- serialVersionUID: long
- ANY_CONVERSION: ConversionContext
- DEFERRED_CONVERSION: ConversionContext
- REALTIME_CONVERSION: ConversionContext
- OTHER_CONVERSION: ConversionContext
- ConversionContext(ConversionContextBuilder): void
- getRateType(): RateType
- getProviderName(): String
- toBuilder(): ConversionContextBuilder
- toQueryBuilder(): ConversionQueryBuilder
- of(String, RateType): ConversionContext
- from(ProviderContext, RateType): ConversionContext
- of(RateType): ConversionContext
- of(): ConversionContext
-
ConversionContextBuilder
- ConversionContextBuilder(ConversionContext): void
- ConversionContextBuilder(ProviderContext, RateType): void
- setRateType(RateType): ConversionContextBuilder
- build(): ConversionContext
- ConversionContextBuilder(): void
- of(ConversionContext): ConversionContextBuilder
- of(): ConversionContextBuilder
- create(ProviderContext, RateType): ConversionContextBuilder
- ConversionQuery
-
ConversionQueryBuilder
- ConversionQueryBuilder(): void
- setRateTypes(RateType[]): ConversionQueryBuilder
- setRateTypes(Set<RateType>): ConversionQueryBuilder
- setBaseCurrency(CurrencyUnit): ConversionQueryBuilder
- setBaseCurrency(String): ConversionQueryBuilder
- setTermCurrency(CurrencyUnit): ConversionQueryBuilder
- setTermCurrency(String): ConversionQueryBuilder
- build(): ConversionQuery
- of(): ConversionQueryBuilder
- of(ConversionQuery): ConversionQueryBuilder
- CurrencyConversion
-
CurrencyConversionException
- serialVersionUID: long
- base: CurrencyUnit
- term: CurrencyUnit
- conversionContext: ConversionContext
- CurrencyConversionException(CurrencyUnit, CurrencyUnit, ConversionContext, String): void
- CurrencyConversionException(CurrencyUnit, CurrencyUnit, ConversionContext): void
- CurrencyConversionException(CurrencyUnit, CurrencyUnit, ConversionContext, String, Throwable): void
- getBaseCurrency(): CurrencyUnit
- getTermCurrency(): CurrencyUnit
- getConversionContext(): ConversionContext
- toString(): String
- ExchangeRate
-
ExchangeRateProvider
- getContext(): ProviderContext
- getExchangeRate(ConversionQuery): ExchangeRate
- getCurrencyConversion(ConversionQuery): CurrencyConversion
- isAvailable(ConversionQuery): boolean
- getExchangeRate(CurrencyUnit, CurrencyUnit): ExchangeRate
- getCurrencyConversion(CurrencyUnit): CurrencyConversion
- isAvailable(CurrencyUnit, CurrencyUnit): boolean
- isAvailable(String, String): boolean
- getExchangeRate(String, String): ExchangeRate
- getReversed(ExchangeRate): ExchangeRate
- getCurrencyConversion(String): CurrencyConversion
- ExchangeRateProviderSupplier
-
MonetaryConversions
- getMonetaryConversionsSpi(): MonetaryConversionsSingletonSpi
- MonetaryConversions(): void
- getConversion(CurrencyUnit, String[]): CurrencyConversion
- getConversion(String, String[]): CurrencyConversion
- getConversion(ConversionQuery): CurrencyConversion
- isConversionAvailable(ConversionQuery): boolean
- isConversionAvailable(String, String[]): boolean
- isConversionAvailable(CurrencyUnit, String[]): boolean
- getExchangeRateProvider(String[]): ExchangeRateProvider
- getExchangeRateProvider(ExchangeRateProviderSupplier, ExchangeRateProviderSupplier[]): ExchangeRateProvider
- getExchangeRateProvider(ConversionQuery): ExchangeRateProvider
- isExchangeRateProviderAvailable(ConversionQuery): boolean
- getConversionProviderNames(): Collection<String>
- getDefaultConversionProviderChain(): List<String>
- ProviderContext
-
ProviderContextBuilder
- ProviderContextBuilder(String, RateType, RateType[]): void
- ProviderContextBuilder(String, Collection<RateType>): void
- ProviderContextBuilder(ProviderContext): void
- setRateTypes(RateType[]): ProviderContextBuilder
- setRateTypes(Collection<RateType>): ProviderContextBuilder
- build(): ProviderContext
- create(ProviderContext): ProviderContextBuilder
- of(String, RateType, RateType[]): ProviderContextBuilder
- of(String, Collection<RateType>): ProviderContextBuilder
- RateType
-
ConversionContext
-
format
- AmountFormatContext
-
AmountFormatContextBuilder
- of(String): AmountFormatContextBuilder
- DEFAULT_FORMAT_NAME: String
- AmountFormatContextBuilder(AmountFormatQuery): void
- AmountFormatContextBuilder(AmountFormatContext): void
- AmountFormatContextBuilder(String): void
- AmountFormatContextBuilder(Locale): void
- setFormatName(String): AmountFormatContextBuilder
- setLocale(Locale): AmountFormatContextBuilder
- setMonetaryAmountFactory(MonetaryAmountFactory): AmountFormatContextBuilder
- build(): AmountFormatContext
- create(AmountFormatQuery): AmountFormatContextBuilder
- of(AmountFormatContext): AmountFormatContextBuilder
- of(Locale): AmountFormatContextBuilder
- AmountFormatQuery
-
AmountFormatQueryBuilder
- DEFAULT_FORMAT_NAME: String
- AmountFormatQueryBuilder(AmountFormatQuery): void
- AmountFormatQueryBuilder(String): void
- AmountFormatQueryBuilder(Locale): void
- setFormatName(String): AmountFormatQueryBuilder
- setLocale(Locale): AmountFormatQueryBuilder
- setMonetaryQuery(MonetaryAmountFactoryQuery): AmountFormatQueryBuilder
- setMonetaryAmountFactory(MonetaryAmountFactory<MonetaryAmount>): AmountFormatQueryBuilder
- build(): AmountFormatQuery
- of(AmountFormatQuery): AmountFormatQueryBuilder
- of(String): AmountFormatQueryBuilder
- of(Locale): AmountFormatQueryBuilder
- MonetaryAmountFormat
-
MonetaryFormats
- getMonetaryFormatsSpi(): MonetaryFormatsSingletonSpi
- MonetaryFormats(): void
- loadMonetaryFormatsSingletonSpi(): MonetaryFormatsSingletonSpi
- isAvailable(Locale, String[]): boolean
- getAmountFormat(Locale, String[]): MonetaryAmountFormat
- isAvailable(AmountFormatQuery): boolean
- getAmountFormat(AmountFormatQuery): MonetaryAmountFormat
- getAmountFormats(AmountFormatQuery): Collection<MonetaryAmountFormat>
- getAmountFormat(String, String[]): MonetaryAmountFormat
- getAvailableLocales(String[]): Set<Locale>
- getFormatProviderNames(): Collection<String>
- getDefaultFormatProviderChain(): List<String>
-
DefaultMonetaryFormatsSingletonSpi
- getAmountFormats(AmountFormatQuery): Collection<MonetaryAmountFormat>
- getProviderNames(): Set<String>
- getDefaultProviderChain(): List<String>
- getAvailableLocales(String[]): Set<Locale>
- getSpisAsMap(): Map<String, MonetaryAmountFormatProviderSpi>
- getSpis(String[]): Collection<MonetaryAmountFormatProviderSpi>
- MonetaryParseException
-
spi
- Bootstrap
- CurrencyProviderSpi
- DefaultServiceProvider
- MonetaryAmountFactoryProviderSpi
- MonetaryAmountFormatProviderSpi
-
MonetaryAmountsSingletonQuerySpi
- getAmountFactories(MonetaryAmountFactoryQuery): Collection<MonetaryAmountFactory<MonetaryAmount>>
- isAvailable(MonetaryAmountFactoryQuery): boolean
- getAmountType(MonetaryAmountFactoryQuery): Class<MonetaryAmount>
- getAmountTypes(MonetaryAmountFactoryQuery): Collection<Class<MonetaryAmount>>
- getAmountFactory(MonetaryAmountFactoryQuery): MonetaryAmountFactory
-
MonetaryAmountsSingletonSpi
- getAmountFactory(Class<MonetaryAmount>): MonetaryAmountFactory<MonetaryAmount>
- getDefaultAmountType(): Class<MonetaryAmount>
- getAmountTypes(): Collection<Class<MonetaryAmount>>
- getDefaultAmountFactory(): MonetaryAmountFactory<MonetaryAmount>
- getAmountFactories(): Collection<MonetaryAmountFactory<MonetaryAmount>>
-
MonetaryConversionsSingletonSpi
- getProviderNames(): Collection<String>
- getDefaultProviderChain(): List<String>
- getExchangeRateProvider(ConversionQuery): ExchangeRateProvider
- isExchangeRateProviderAvailable(ConversionQuery): boolean
- isConversionAvailable(ConversionQuery): boolean
- isConversionAvailable(CurrencyUnit, String[]): boolean
- getExchangeRateProviders(String[]): List<ExchangeRateProvider>
- getExchangeRateProvider(String[]): ExchangeRateProvider
- getConversion(ConversionQuery): CurrencyConversion
- getConversion(CurrencyUnit, String[]): CurrencyConversion
-
MonetaryCurrenciesSingletonSpi
- getDefaultProviderChain(): List<String>
- getProviderNames(): Set<String>
- getCurrencies(CurrencyQuery): Set<CurrencyUnit>
- getCurrency(String, String[]): CurrencyUnit
- getCurrency(Locale, String[]): CurrencyUnit
- getCurrencies(Locale, String[]): Set<CurrencyUnit>
- isCurrencyAvailable(String, String[]): boolean
- isCurrencyAvailable(Locale, String[]): boolean
- getCurrencies(String[]): Set<CurrencyUnit>
- getCurrency(CurrencyQuery): CurrencyUnit
-
MonetaryFormatsSingletonSpi
- getAvailableLocales(String[]): Set<Locale>
- getAmountFormats(AmountFormatQuery): Collection<MonetaryAmountFormat>
- getProviderNames(): Set<String>
- getDefaultProviderChain(): List<String>
- getAmountFormat(AmountFormatQuery): MonetaryAmountFormat
- isAvailable(AmountFormatQuery): boolean
- isAvailable(Locale, String[]): boolean
- getAmountFormat(Locale, String[]): MonetaryAmountFormat
- getAmountFormat(String, String[]): MonetaryAmountFormat
-
MonetaryRoundingsSingletonSpi
- getRoundingNames(String[]): Set<String>
- getProviderNames(): Set<String>
- getDefaultProviderChain(): List<String>
- getRoundings(RoundingQuery): Collection<MonetaryRounding>
- getDefaultRounding(): MonetaryRounding
- getRounding(CurrencyUnit, String[]): MonetaryRounding
- getRounding(String, String[]): MonetaryRounding
- getRounding(RoundingQuery): MonetaryRounding
- isRoundingAvailable(RoundingQuery): boolean
- isRoundingAvailable(String, String[]): boolean
- isRoundingAvailable(CurrencyUnit, String[]): boolean
- RoundingProviderSpi
- ServiceProvider
-
AbstractContext
-
money