MessageBundleLocalizedStringFactoryN

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

Create LocalizedString with the given parameter

Link copied to clipboard
abstract fun createString(parameters: MessageParameters, locale: Locale? = null): String

Create a string with the given parameter

Link copied to clipboard
open operator fun get(parameters: MessageParameters): LocalizedString
open operator fun get(vararg parameters: Pair<String, Any>): LocalizedString

applies the parameter pairs and creates the LocalizedString instance

Link copied to clipboard
open operator fun invoke(parameters: MessageParameters, locale: Locale? = null): String

Shortcut for createString

open operator fun invoke(vararg parameters: Pair<String, Any>, locale: Locale? = null): String

applies the parameter pairs and creates the string