public class ResourceBundleUtil
extends Object
Modifier and Type | Field and Description |
---|---|
static ResourceBundle |
EMPTY_RESOURCE_BUNDLE |
Constructor and Description |
---|
ResourceBundleUtil() |
Modifier and Type | Method and Description |
---|---|
static ResourceBundle |
getBundle(Locale locale,
Class<?> clazz) |
static ResourceBundle |
getBundle(Locale locale,
ClassLoader classLoader) |
static ResourceBundle |
getBundle(Locale locale,
String symbolicName) |
static ResourceBundle |
getBundle(String baseName,
Class<?> clazz) |
static ResourceBundle |
getBundle(String baseName,
ClassLoader classLoader) |
static ResourceBundle |
getBundle(String baseName,
Locale locale,
Class<?> clazz) |
static ResourceBundle |
getBundle(String baseName,
Locale locale,
ClassLoader classLoader) |
static Map<Locale,String> |
getLocalizationMap(ResourceBundleLoader resourceBundleLoader,
String key) |
static Map<Locale,String> |
getLocalizationMap(String baseName,
Class<?> clazz,
String key)
Deprecated.
As of Wilberforce (7.0.x)
|
static ResourceBundleLoader |
getResourceBundleLoader(String baseName,
ClassLoader classLoader) |
static String |
getString(ResourceBundle resourceBundle,
Locale locale,
String key,
Object[] arguments)
Deprecated.
As of Judson (7.1.x), replaced by
getString(ResourceBundle, String, Object...) |
static String |
getString(ResourceBundle resourceBundle,
String key) |
static String |
getString(ResourceBundle resourceBundle,
String key,
Object... arguments) |
static void |
loadResourceBundles(Map<String,ResourceBundle> resourceBundles,
Locale locale,
ResourceBundleLoader resourceBundleLoader)
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
static void |
loadResourceBundles(Map<String,ResourceBundle> resourceBundles,
String languageId,
ResourceBundleLoader resourceBundleLoader)
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
public static ResourceBundle getBundle(Locale locale, Class<?> clazz)
public static ResourceBundle getBundle(Locale locale, ClassLoader classLoader)
public static ResourceBundle getBundle(Locale locale, String symbolicName)
public static ResourceBundle getBundle(String baseName, Class<?> clazz)
public static ResourceBundle getBundle(String baseName, ClassLoader classLoader)
public static ResourceBundle getBundle(String baseName, Locale locale, Class<?> clazz)
public static ResourceBundle getBundle(String baseName, Locale locale, ClassLoader classLoader)
public static Map<Locale,String> getLocalizationMap(ResourceBundleLoader resourceBundleLoader, String key)
@Deprecated public static Map<Locale,String> getLocalizationMap(String baseName, Class<?> clazz, String key)
public static ResourceBundleLoader getResourceBundleLoader(String baseName, ClassLoader classLoader)
@Deprecated public static String getString(ResourceBundle resourceBundle, Locale locale, String key, Object[] arguments)
getString(ResourceBundle, String, Object...)
public static String getString(ResourceBundle resourceBundle, String key)
public static String getString(ResourceBundle resourceBundle, String key, Object... arguments)
@Deprecated public static void loadResourceBundles(Map<String,ResourceBundle> resourceBundles, Locale locale, ResourceBundleLoader resourceBundleLoader)
@Deprecated public static void loadResourceBundles(Map<String,ResourceBundle> resourceBundles, String languageId, ResourceBundleLoader resourceBundleLoader)