public final class FormattedText extends TextEnvelope
There is no thread-safety guarantee.
Constructor and Description |
---|
FormattedText(String ptn,
Collection<Object> arguments)
New formatted string with default locale.
|
FormattedText(String ptn,
Locale locale,
Collection<Object> arguments)
New formatted string with specified locale.
|
FormattedText(String ptn,
Locale locale,
Object... arguments)
New formatted string with specified locale.
|
FormattedText(String ptn,
Object... arguments)
New formatted string with default locale.
|
FormattedText(Text ptn,
Collection<Object> arguments)
New formatted string with default locale.
|
FormattedText(Text ptn,
Locale locale,
Collection<Object> args)
New formatted string with specified locale.
|
FormattedText(Text ptn,
Locale locale,
Object... arguments)
New formatted string with specified locale.
|
FormattedText(Text ptn,
Object... arguments)
New formatted string with default locale.
|
public FormattedText(String ptn, Object... arguments)
ptn
- Patternarguments
- Argumentspublic FormattedText(Text ptn, Object... arguments)
ptn
- Patternarguments
- Argumentspublic FormattedText(String ptn, Locale locale, Object... arguments)
ptn
- Patternlocale
- Format localearguments
- Argumentspublic FormattedText(Text ptn, Locale locale, Object... arguments)
ptn
- Patternlocale
- Format localearguments
- Argumentspublic FormattedText(String ptn, Collection<Object> arguments)
ptn
- Patternarguments
- Argumentspublic FormattedText(Text ptn, Collection<Object> arguments)
ptn
- Patternarguments
- Argumentspublic FormattedText(String ptn, Locale locale, Collection<Object> arguments)
ptn
- Patternlocale
- Format localearguments
- Argumentspublic FormattedText(Text ptn, Locale locale, Collection<Object> args)
ptn
- Patternlocale
- Format localeargs
- ArgumentsCopyright © 2017–2020 Cactoos. All rights reserved.