Package com.liferay.portal.kernel.util
Class ResourceBundleUtil
Object
com.liferay.portal.kernel.util.ResourceBundleUtil
- Author:
- Shuyang Zhou, Neil Griffin
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ResourceBundlestatic ResourceBundlegetBundle(String baseName, ClassLoader classLoader) static ResourceBundlestatic ResourceBundlegetBundle(String baseName, Locale locale, ClassLoader classLoader) static ResourceBundlestatic ResourceBundlegetBundle(Locale locale, ClassLoader classLoader) static ResourceBundleDeprecated.As of Cavanaugh (7.4.x), with no direct replacementgetLocalizationMap(ResourceBundleLoader resourceBundleLoader, String key) static ResourceBundlegetModuleAndPortalResourceBundle(Locale locale, Class<?> clazz) static StringgetString(ResourceBundle resourceBundle, String key) static StringgetString(ResourceBundle resourceBundle, String key, Object... arguments)
-
Field Details
-
EMPTY_RESOURCE_BUNDLE
-
-
Constructor Details
-
ResourceBundleUtil
public ResourceBundleUtil()
-
-
Method Details
-
getBundle
-
getBundle
-
getBundle
Deprecated.As of Cavanaugh (7.4.x), with no direct replacement -
getBundle
-
getBundle
-
getBundle
-
getBundle
-
getLocalizationMap
public static Map<Locale,String> getLocalizationMap(ResourceBundleLoader resourceBundleLoader, String key) -
getModuleAndPortalResourceBundle
-
getString
-
getString
-