public class FoldingMessages extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
getFormattedString(String key,
Object arg)
Returns the formatted resource string associated with the given key in the resource bundle.
|
static ResourceBundle |
getResourceBundle()
Returns the resource bundle managed by the receiver.
|
static String |
getString(String key)
Returns the resource string associated with the given key in the resource bundle.
|
public static String getString(String key)
key - the resource keypublic static ResourceBundle getResourceBundle()
public static String getFormattedString(String key, Object arg)
MessageFormat is used to format the message. If there isn't any value under the given key, the key
is returned.key - the resource keyarg - the message argumentCopyright © 2016. All Rights Reserved.