Modifier and Type | Method and Description |
---|---|
String |
text(Locale locale,
Object... arguments)
Get the localized text for the supplied locale, replacing the parameters in the text with those supplied.
|
String |
text(Object... arguments)
Get the localized text for the
current (default) locale , replacing the parameters in the text
with those supplied. |
String text(Object... arguments)
current (default) locale
, replacing the parameters in the text
with those supplied.arguments
- the arguments for the parameter replacement; may be null
or emptyString text(Locale locale, Object... arguments)
locale
- the locale, or null
if the current (default) locale
should be usedarguments
- the arguments for the parameter replacement; may be null
or emptyCopyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.