public class AbstractMessages extends Object
| Constructor and Description |
|---|
AbstractMessages(Class<? extends AbstractMessages> c)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
clearLocale() |
String |
format(String key,
Object... params)
Look up a message in the i18n resource message bundle by key, then format the
message with the given params and return the result.
|
Locale |
getLocale()
Gets the locale to use when finding a bundle.
|
static void |
setLocale(Locale locale) |
public AbstractMessages(Class<? extends AbstractMessages> c)
Copyright © 2013–2015 JBoss, a division of Red Hat. All rights reserved.