public class UIResources
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
protected java.lang.String |
country |
|
protected java.util.Locale |
currentLocale |
|
protected java.lang.String |
language |
|
protected java.util.ResourceBundle |
uiString |
Modifier and Type | Method | Description |
---|---|---|
static UIResources |
getInstance() |
|
java.lang.String |
getString(java.lang.String key) |
returns the UI String corresponding to the given key; if no
UI string is found, the key is returned.
|
protected java.util.Locale currentLocale
protected java.lang.String language
protected java.lang.String country
protected java.util.ResourceBundle uiString
public static UIResources getInstance()
public java.lang.String getString(java.lang.String key)
key
- String to identify the UI item