Package-level declarations

Types

Link copied to clipboard
data class MessageFormatContext(val formatterTypes: ImmutableMap<String, MessageValueFormatter>)
Link copied to clipboard
Link copied to clipboard
class MessageParser(message: CharSequence, ignoreMessageParseErrors: Boolean = i18n4k.ignoreMessageParseErrors)
Link copied to clipboard
interface MessagePart
Link copied to clipboard
data class MessagePartList(val list: ImmutableList<MessagePart>) : MessagePart
Link copied to clipboard
data class MessagePartParam(val index: Int?, val type: CharSequence?, var style: StylePart?) : MessagePart
Link copied to clipboard
data class MessagePartText(val text: CharSequence) : MessagePart
Link copied to clipboard
interface StylePart

Style modifier

Link copied to clipboard
data class StylePartList(val list: ImmutableList<StylePart>) : StylePart

List of style modifier separated by "|"

Link copied to clipboard
data class StylePartNamed(val names: ImmutableSet<CharSequence>, val data: MessagePart) : StylePart

Style part that has name(s). Data is separated by ":"

Link copied to clipboard
data class StylePartSimple(val data: MessagePart) : StylePart

Functions

Link copied to clipboard

Searches the first StylePartSimple, if not found takes the fist named.