ResourceBundleUtils from project resourcebundle-core.public class ResourceBundleUtils extends Object
| Constructor and Description |
|---|
ResourceBundleUtils()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
getString(ResourceBundle resourceBundle,
String key)
Deprecated.
Gets the string.
|
static String |
getString(ResourceBundle resourceBundle,
String key,
Object... params)
Deprecated.
Gets the string.
|
static String |
getString(String baseName,
Locale locale,
String key,
Object... params)
Deprecated.
Gets the string.
|
static <T> String |
newResourceKey(T object,
String keySuffix)
Deprecated.
Creates a new resource key from the given object and the given key.
|
public static String getString(ResourceBundle resourceBundle, String key)
resourceBundle - the resource bundlekey - the keypublic static String getString(ResourceBundle resourceBundle, String key, Object... params)
resourceBundle - the resource bundlekey - the keyparams - the parameterspublic static String getString(String baseName, Locale locale, String key, Object... params)
baseName - the base name of the resource bundle, a fully qualified class namelocale - the locale for which a resource bundlekey - the keyparams - the paramspublic static <T> String newResourceKey(T object, String keySuffix)
T - The generic type of the given object.object - The object that will be used to generate the resource key.keySuffix - The suffix that will be used to generate the resource key.Copyright © 2007–2015 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.