Uses of Interface
dev.orne.i18n.spring.I18nSpringContextProvider.Builder
-
Uses of I18nSpringContextProvider.Builder in dev.orne.i18n.spring
Modifier and TypeClassDescriptionprotected static class
I18nSpringContextProvider.BuilderImpl<T extends I18nSpringContextProvider,
B extends I18nSpringContextProvider.BuilderImpl<T, B>> Builder ofI18nSpringContextProvider
instances.Modifier and TypeMethodDescription@NotNull I18nSpringContextProvider.Builder
I18nSpringContextProvider.Builder.addI18nResources
(@NotNull String key, @NotNull I18nResources resource) Adds alternative I18N resources to be used when the specified key is used.@NotNull I18nSpringContextProvider.Builder
I18nSpringContextProvider.Builder.addI18nResources
(@NotNull String key, @NotNull org.springframework.context.MessageSource messageSource) Adds alternative I18N resources to be used when the specified key is used.static @NotNull I18nSpringContextProvider.Builder
I18nSpringContextProvider.builder()
Creates a newI18nSpringContextProvider
instances builder.default @NotNull I18nSpringContextProvider.Builder
I18nSpringContextProvider.Builder.configure()
Configures the builder with I18N configuration for the current class loader.@NotNull I18nSpringContextProvider.Builder
I18nSpringContextProvider.Builder.configure
(@NotNull Properties config) Configures the builder with specified I18N configuration.I18nSpringConfigurer.getI18nContextProviderBuilder()
Returns the I18N context provider builder to use to configure I18N context provider.@NotNull I18nSpringContextProvider.Builder
I18nSpringContextProvider.Builder.setAvailableLocales
(@NotNull Locale[] locales) Sets the available locales.@NotNull I18nSpringContextProvider.Builder
I18nSpringContextProvider.Builder.setDefaultI18nResources
(@NotNull I18nResources resources) Sets the default I18N resources.@NotNull I18nSpringContextProvider.Builder
I18nSpringContextProvider.Builder.setDefaultI18nResources
(@NotNull org.springframework.context.MessageSource messageSource) Sets the default I18N resources.@NotNull I18nSpringContextProvider.Builder
I18nSpringContextProvider.Builder.setDefaultLocaleSupplier
(@NotNull Supplier<@NotNull Locale> supplier) Sets the default locale supplier.@NotNull I18nSpringContextProvider.Builder
I18nSpringContextProvider.Builder.setInheritableContexts
(@javax.validation.constraints.NotNull boolean inheritable) Sets if theI18nContext
instances will be inherited by child threads.Modifier and TypeMethodDescriptiondefault void
I18nSpringConfigurer.configureI18nContextProvider
(I18nSpringContextProvider.Builder builder) Configure the I18N context provider configuration.