public class NLS extends Object
| Modifier | Constructor and Description | 
|---|---|
protected  | 
NLS()  | 
| Modifier and Type | Method and Description | 
|---|---|
static String | 
getLocalizedMessage(String key)  | 
static String | 
getLocalizedMessage(String key,
                   Locale locale)  | 
static String | 
getLocalizedMessage(String key,
                   Locale locale,
                   Object... args)  | 
static String | 
getLocalizedMessage(String key,
                   Object... args)  | 
protected static void | 
initializeMessages(String bundleName,
                  Class<? extends NLS> clazz)
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)
protected static void initializeMessages(String bundleName, Class<? extends NLS> clazz)
bundleName - Property file with that contains the message bundleclazz - where constants will resideCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.