FormattingDescriber

class FormattingDescriber(patternString: String, arguments: Any) : Function1<(String) -> Unit, Unit>

A FormattingDescriber is a Describer that is given a String to act as a Formatter pattern, and an array of arbitrary values to supply to it.

Author

Mark van Gulik

Parameters

patternString

The pattern String.

arguments

The arguments to populate the pattern.

Constructors

Link copied to clipboard
fun FormattingDescriber(patternString: String, vararg arguments: Any)

Construct a new FormattingDescriber.

Functions

Link copied to clipboard
open operator override fun invoke(continuation: (String) -> Unit)

Produce the formatted string and pass it to the specified continuation.