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 ModuleType
getModuleTypePerLocale
(@Nullable ModuleType defModuleType, @Nullable Locale locale, org.osgi.framework.Bundle bundle) Builds aModuleType
with the givenLocale
-
Method Details
-
getModuleTypePerLocale
@Nullable ModuleType getModuleTypePerLocale(@Nullable ModuleType defModuleType, @Nullable Locale locale, org.osgi.framework.Bundle bundle) Builds aModuleType
with 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
-