public class WuicGlobal extends java.lang.Object implements FrameworkTextResource
Modifier and Type | Field and Description |
---|---|
protected java.util.Locale |
locale |
protected java.util.ResourceBundle |
res |
Modifier and Type | Method and Description |
---|---|
void |
forceLanguage(int language)
Forces a GUI language, no matter what locale is relevant.
|
void |
forceLanguageEn()
Forces English to be used.
|
static WuicGlobal |
getInstance() |
static WuicGlobal |
getInstance(java.util.Locale locale) |
java.lang.String |
getResourceString(java.lang.String resourceKey)
Returns a package specific resource as a string.
|
public static final WuicGlobal getInstance()
public static final WuicGlobal getInstance(java.util.Locale locale)
public void forceLanguageEn()
public void forceLanguage(int language)
language
- the language to useGlobalStd.LANG_EN
,
GlobalStd.LANG_DE
public java.lang.String getResourceString(java.lang.String resourceKey)
getResourceString
in interface FrameworkTextResource
resourceKey
- the key of the resource to retrieveCopyright 1998-2018 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.must.de