public final class Messages
extends java.lang.Object
public static <T> T getBundle(java.lang.Class<T> type)
getBundle
(type, Locale.getDefault())
.T
- the bundle typetype
- the bundle type classpublic static <T> T getBundle(java.lang.Class<T> type, java.util.Locale locale)
T
- the bundle typetype
- the bundle type classlocale
- the message locale to useCopyright © 2012 JBoss, a division of Red Hat, Inc.