public class ResourceController
extends java.lang.Object
ResourceController
class contains methods for loading text resources.Modifier and Type | Method and Description |
---|---|
static void |
changeInstance()
Changes the loaded resource bundle to the new bundle for actully chosen editor language.
|
static java.lang.String |
getMessage(java.lang.String key)
Gets the text resource of the actual language for the input key.
|
static java.lang.String |
getMessage(java.lang.String key,
java.lang.Object... args)
Gets the text resource of the actual language for the input key and arguments.
|
public static void changeInstance()
public static java.lang.String getMessage(java.lang.String key)
key
- the key of the text resource.public static java.lang.String getMessage(java.lang.String key, java.lang.Object... args)
key
- the key of the text resource.args
- the arguments of the text resource.