Package io.quarkus.qute.i18n
Class MessageBundles
- java.lang.Object
-
- io.quarkus.qute.i18n.MessageBundles
-
public final class MessageBundles extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
ATTRIBUTE_LOCALE
static String
DEFAULT_LOCALE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> T
get(Class<T> bundleInterface)
static <T> T
get(Class<T> bundleInterface, Localized localized)
static Template
getTemplate(String id)
(package private) static void
setupMessageTemplates(Engine engine, MessageBundleRecorder.BundleContext context)
(package private) static void
setupNamespaceResolvers(EngineBuilder builder, MessageBundleRecorder.BundleContext context)
-
-
-
Field Detail
-
ATTRIBUTE_LOCALE
public static final String ATTRIBUTE_LOCALE
- See Also:
- Constant Field Values
-
DEFAULT_LOCALE
public static final String DEFAULT_LOCALE
- See Also:
- Constant Field Values
-
-
Method Detail
-
get
public static <T> T get(Class<T> bundleInterface)
-
setupNamespaceResolvers
static void setupNamespaceResolvers(@Observes EngineBuilder builder, MessageBundleRecorder.BundleContext context)
-
setupMessageTemplates
static void setupMessageTemplates(@Observes Engine engine, MessageBundleRecorder.BundleContext context)
-
-