Package org.jboss.logging
Class Messages
java.lang.Object
org.jboss.logging.Messages
A factory class to produce message bundle implementations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static <T> T
doGetBundle
(Class<T> type, Locale locale) static <T> T
Get a message bundle of the given type.static <T> T
Get a message bundle of the given type.private static String
-
Constructor Details
-
Messages
private Messages()
-
-
Method Details
-
getBundle
Get a message bundle of the given type. Equivalent to
.getBundle
(type, Locale.getDefault())- Type Parameters:
T
- the bundle type- Parameters:
type
- the bundle type class- Returns:
- the bundle
-
getBundle
Get a message bundle of the given type.- Type Parameters:
T
- the bundle type- Parameters:
type
- the bundle type classlocale
- the message locale to use- Returns:
- the bundle
-
doGetBundle
-
join
-