QueryParserMessages
@Deprecated public class NLS extends Object
Modifier | Constructor | Description |
---|---|---|
protected |
NLS() |
Deprecated.
|
Modifier and Type | Method | Description |
---|---|---|
static String |
getLocalizedMessage(String key) |
Deprecated.
|
static String |
getLocalizedMessage(String key,
Object... args) |
Deprecated.
|
static String |
getLocalizedMessage(String key,
Locale locale) |
Deprecated.
|
static String |
getLocalizedMessage(String key,
Locale locale,
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)
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 resideCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.