Kactoos

kactoos-jvm / nnl.rocks.kactoos.text / FormattedText / <init>

<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.

Parameters

ptn - Pattern

arguments - ArgumentsFormattedText(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.

Parameters

ptn - Pattern

locale - Format locale

arguments - ArgumentsFormattedText(pattern: Text, locale: Locale, arguments: Collection<Any>)

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