public class FoldingMessages
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getFormattedString(java.lang.String key,
java.lang.Object arg)
Returns the formatted resource string associated with the given key in the resource bundle.
|
static java.util.ResourceBundle |
getResourceBundle()
Returns the resource bundle managed by the receiver.
|
static java.lang.String |
getString(java.lang.String key)
Returns the resource string associated with the given key in the resource bundle.
|
public static java.lang.String getString(java.lang.String key)
key
- the resource keypublic static java.util.ResourceBundle getResourceBundle()
public static java.lang.String getFormattedString(java.lang.String key, java.lang.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 argument