LocalizationMapProvider

@NullMarked
@InterfacedService(acceptMultiple = true)
interface LocalizationMapProvider(source)

Supplies a LocalizationMap for the requested bundle name and locale. This is an intermediary step, often using existing LocalizationMapReaders.

Usage: Register your instance as a service with BService.

See also

Inheritors

Properties

Link copied to clipboard

Functions

Link copied to clipboard
@Nullable
abstract fun fromBundle(baseName: String, requestedLocale: Locale): @Nullable LocalizationMap
Loads a localization map with the requested name and requested locale.
Link copied to clipboard
@Nullable
abstract fun fromBundleOrParent(baseName: String, requestedLocale: Locale): @Nullable LocalizationMap
Loads a localization map with the requested name and requested locale.