@Deprecated public class NLS extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
NLS()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
getLocalizedMessage(String key)
Deprecated.
|
static String |
getLocalizedMessage(String key,
Locale locale)
Deprecated.
|
static String |
getLocalizedMessage(String key,
Locale locale,
Object... args)
Deprecated.
|
static String |
getLocalizedMessage(String key,
Object... args)
Deprecated.
|
protected static void |
initializeMessages(String bundleName,
Class<? extends NLS> clazz)
Deprecated.
Initialize a given class with the message bundle Keys Should be called from
a class that extends NLS in a static block at class load time.
|
public static String getLocalizedMessage(String key, Locale locale, Object... args)
public static String getLocalizedMessage(String key, Object... args)
protected static void initializeMessages(String bundleName, Class<? extends NLS> clazz)
bundleName - Property file with that contains the message bundleclazz - where constants will reside