Properties

Link copied to clipboard

The message bundle where the entry belongs to

Link copied to clipboard
abstract val messageIndex: Int

the index of the entry in the bundle

Link copied to clipboard
abstract val messageKey: String

The key of the entry of the message bundle.

Functions

Link copied to clipboard
abstract fun getAttribute(attributeName: CharSequence, locale: Locale? = null): String?

Returns the value of the attribute with the given name in the given locale or null if the attribute value is not defined for the locale.

Link copied to clipboard
open operator fun invoke(): String
open operator fun invoke(locale: Locale?): String

Shortcut for toString

Link copied to clipboard

Combines the two LocalizedString into one

Combines the LocalizedString and the String into a LocalizedString

Link copied to clipboard
abstract override fun toString(): String

Returns the string value based on the currently set Locale in de.comahe.i18n4k.i18n4k (de.comahe.i18n4k.config.I18n4kConfig.locale)

abstract fun toString(locale: Locale?): String

Returns the string value based on the given Locale.