|
JBoss Logging 3.0.0.Beta5-SNAPSHOT | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.logging.Messages
public final class Messages
A factory class to produce message bundle implementations.
| Method Summary | ||
|---|---|---|
static
|
getBundle(Class<T> type)
Get a message bundle of the given type. |
|
static
|
getBundle(Class<T> type,
Locale locale)
Get a message bundle of the given type. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static <T> T getBundle(Class<T> type)
getBundle(type, Locale.getDefault()).
T - the bundle typetype - the bundle type class
public static <T> T getBundle(Class<T> type,
Locale locale)
T - the bundle typetype - the bundle type classlocale - the message locale to use
|
JBoss Logging 3.0.0.Beta5-SNAPSHOT | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||