MessageFormatter

The formatter used to insert and format the parameters of the message text

Inheritors

Functions

Link copied to clipboard
abstract fun format(message: String, parameters: List<Any>, locale: Locale): String

Formats and returns the message

Link copied to clipboard
open fun getMaxParameterIndex(message: String, locale: Locale): Int

returns the max used parameter index in the string. "-1" if there is no parameter