Class ProfileTypeI18nLocalizationService

java.lang.Object
org.openhab.core.thing.profiles.i18n.ProfileTypeI18nLocalizationService

@NonNullByDefault public class ProfileTypeI18nLocalizationService extends Object
This OSGi service could be used to localize a ProfileType using the i18n mechanism of the openHAB framework.
Author:
Christoph Weitkamp - Initial contribution
  • Constructor Details

    • ProfileTypeI18nLocalizationService

      public ProfileTypeI18nLocalizationService(TranslationProvider i18nProvider)
  • Method Details

    • createLocalizedProfileType

      public ProfileType createLocalizedProfileType(org.osgi.framework.Bundle bundle, ProfileType profileType, @Nullable Locale locale)