Interface ModuleTypeI18nService
@NonNullByDefault
public interface ModuleTypeI18nService
Interface for a service that offer i18n functionality
- Author:
- Stefan Triller - Initial contribution
-
Method Summary
Modifier and TypeMethodDescription@Nullable ModuleTypegetModuleTypePerLocale(@Nullable ModuleType defModuleType, @Nullable Locale locale, org.osgi.framework.Bundle bundle) Builds aModuleTypewith the givenLocale
-
Method Details
-
getModuleTypePerLocale
@Nullable ModuleType getModuleTypePerLocale(@Nullable ModuleType defModuleType, @Nullable Locale locale, org.osgi.framework.Bundle bundle) Builds aModuleTypewith the givenLocale- Parameters:
defModuleType- the ModuleType as definedlocale- a Locale into which the type should be translatedbundle- the bundle containing the localization files- Returns:
- the localized ModuleType
-