Kactoos

kactoos-jvm / nnl.rocks.kactoos.text / FormattedText

FormattedText

class FormattedText : Text

Text in Sprinf format.

New formatted string with specified locale.

Parameters

pattern - Pattern

locale - Format locale

arguments -

Arguments

There is no thread-safety guarantee.

Since 0.1

Constructors

Name Summary
<init> FormattedText(ptn: String, vararg arguments: Any)
FormattedText(ptn: Text, vararg arguments: Any)
FormattedText(ptn: String, arguments: Collection<Any>)
FormattedText(ptn: Text, arguments: Collection<Any>)
New formatted string with default locale.FormattedText(ptn: String, locale: Locale, vararg arguments: Any)
FormattedText(ptn: Text, locale: Locale, vararg arguments: Any)
FormattedText(ptn: String, locale: Locale, arguments: Collection<Any>)
New formatted string with specified locale.FormattedText(pattern: Text, locale: Locale, arguments: Collection<Any>)
Text in Sprinf format.

Functions

Name Summary
asString fun asString(): String
Convert it to the string.