Package de.xima.fc.user_portal.resource
Class GeneralResourceBundle
- java.lang.Object
-
- de.xima.fc.user_portal.resource.GeneralResourceBundle
-
public class GeneralResourceBundle extends Object
General resource bundle for the user portal.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @NotNull String
getLocalization(Locale locale, String key, Object... params)
Get localization for the given key and locale.static @NotNull ResourceBundle
getResourceBundle(Locale locale)
Get general user portal resource bundle for the given locale.
-
-
-
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 usekey
- to get localization forparams
- possible parameters for the localization- Returns:
- localization for the given key and locale
-
-