Class GeneralResourceBundle


  • public class GeneralResourceBundle
    extends Object
    General resource bundle for the user portal.
    Since:
    8.2.0
    Author:
    XIMA MEDIA GmbH
    • Method Detail

      • getResourceBundle

        @NotNull
        public static @NotNull ResourceBundle getResourceBundle​(Locale locale)
        Get general user portal resource bundle for the given locale.
        Parameters:
        locale - to use
        Returns:
        general user portal resource bundle for the given locale
      • getLocalization

        @NotNull
        public static @NotNull String getLocalization​(Locale locale,
                                                      String key,
                                                      Object... params)
        Get localization for the given key and locale.
        Parameters:
        locale - to use
        key - to get localization for
        params - possible parameters for the localization
        Returns:
        localization for the given key and locale