Package-level declarations

Types

Link copied to clipboard

Common base class for implementing LocalizedString

Link copied to clipboard

A combination of two LocalizedString forming a new one

Link copied to clipboard
Link copied to clipboard

For objects that hold different attribute values for different Locale values

Link copied to clipboard

A map of attribute values per locale that can be used attribute-based message formatters.

Link copied to clipboard
interface LocalizedString

For objects that change their toString method based on the set Locale in de.comahe.i18n4k.i18n4k

Link copied to clipboard

A factory for LocalizedString with 1 parameter.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

A simple implementation of LocalizedStringFactoryN that maps a locale values to string values.

Link copied to clipboard

A factory for LocalizedString with arbitrary number of parameters.

Link copied to clipboard

Base interface for all factories with direct parameters

Link copied to clipboard

A simple implementation of LocalizedString that maps a locale values to string values.

Link copied to clipboard
data class LocalizedStringNumber @JvmOverloads constructor(var number: Number, val precision: Int = Int.MAX_VALUE, val tailingFractionZeros: Boolean = false) : AbstractLocalizedString

Provies locale specific formatting of numbers. e.g. "12.345,67"

Link copied to clipboard

LocalizedString that can have parameters.

Link copied to clipboard

Simple implementation of LocalizedAttributable that always return the given value

Link copied to clipboard

LocalizedString that always return the same value in toString

Functions

Link copied to clipboard

Combines the two LocalizedString into one

Combines the LocalizedString and the String into a LocalizedString

Link copied to clipboard
fun Any?.toString(locale: Locale?): String

Return the string value based on the given Locale.