Interface ModuleTypeI18nService


@NonNullByDefault public interface ModuleTypeI18nService
Interface for a service that offer i18n functionality
Author:
Stefan Triller - Initial contribution
  • Method Details

    • getModuleTypePerLocale

      @Nullable ModuleType getModuleTypePerLocale(@Nullable ModuleType defModuleType, @Nullable Locale locale, org.osgi.framework.Bundle bundle)
      Builds a ModuleType with the given Locale
      Parameters:
      defModuleType - the ModuleType as defined
      locale - a Locale into which the type should be translated
      bundle - the bundle containing the localization files
      Returns:
      the localized ModuleType