Module com.aoapps.lang
Package com.aoapps.lang.i18n
Internationalization (i18n) utilities shared by many projects.
We are consolidating classes into this package. Once consolidated, this package will be split into its own "ao-18n" project. Some features will go into sub-projects, such as in-context translation becoming "ao-i18n-editor" and its related servlets going into something like "ao-i18n-editor-servlet".
-
Interface Summary Interface Description LocalizedConsumer A localized consumer.LocalizedConsumerE<Ex extends Throwable> A localized consumer that is allowed to throw a checked exception.LocalizedSupplier<T> A localized supplier.LocalizedSupplierE<T,Ex extends Throwable> A localized supplier that is allowed to throw a checked exception.Resources.Listener Listeners may be registered to be notified as messages are looked-up.ThreadLocale.Supplier<T> Deprecated. Please useSupplierdirectly. -
Class Summary Class Description CurrencyComparator Compares currencies and orders them by their currency code.CurrencyUtil Utility methods for working with currencies.LocaleComparator Sorts locales by language, country, then variant.Locales Convenience static access to more locales than provided by the stock Locale class.LocaleString Associates a locale with a string.Money Stores a monetary value as a combination of currency and amount.Monies Stores multiple monetary values, with one value per currency.Resources Provides a simplified interface for obtaining localized and formatted values from aResourceBundle.ThreadLocale Keeps track of the user's locale on a per-thread basis.