LocalizationMapProviders

Class which contains all the LocalizationMapProvider. This is mainly used by the localization map providers themselves, or by LocalizationService as to cycle through all providers until one returns a valid LocalizationMap.

Constructors

Link copied to clipboard
constructor(serviceContainer: ServiceContainer)

Properties

Link copied to clipboard
@Nullable
open val providers: @Nullable Collection<LocalizationMapProvider>

Functions

Link copied to clipboard
@Nullable
open fun cycleProviders(baseName: String, locale: Locale): @Nullable LocalizationMap
Cycles through all the registered providers with the specified base name and locale, and returns a LocalizationMap when a provider returns one, returns null otherwise.
Link copied to clipboard
@Nullable
open fun cycleProvidersWithParents(baseName: String, locale: Locale): @Nullable LocalizationMap
Cycles through all the registered providers with the specified base name and locale, and returns a LocalizationMap when a provider returns one, returns null otherwise.