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 StringATTRIBUTE_LOCALEstatic StringDEFAULT_LOCALE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> Tget(Class<T> bundleInterface)static <T> Tget(Class<T> bundleInterface, Localized localized)static TemplategetTemplate(String id)(package private) static voidsetupMessageTemplates(Engine engine, MessageBundleRecorder.BundleContext context)(package private) static voidsetupNamespaceResolvers(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)
-
-