public class Resources extends java.lang.Object
| Constructor and Description |
|---|
Resources() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.Locale |
getLocale()
Returns the locale that is being used for supplying resources.
|
static java.lang.String |
localString(java.lang.String key)
Returns a localised string.
|
static void |
setLocale(java.util.Locale l)
Sets the locale to use for supplying resources.
|
public Resources()
public static java.util.Locale getLocale()
Locale.getDefault().null).public static void setLocale(java.util.Locale l)
l - the locale (null not permitted).public static java.lang.String localString(java.lang.String key)
key - the key (null not permitted).