|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Dictionary<K,V>
java.util.Hashtable<java.lang.Object,java.lang.Object>
java.util.Properties
zisko.multicastor.program.lang.LanguageManager
public class LanguageManager
This class supports the LanguageFile management of the MultiCastor It is created as a singleton. That means that there can be only one object of this class at runtime
Field Summary | |
---|---|
static java.lang.String[] |
languages
Array stores all languages detected as language file in the language directory |
Method Summary | |
---|---|
static java.lang.String |
getCurrentLanguage()
Method returns the name of the current selected language |
static LanguageManager |
getInstance()
Method returns the one and only LanguageManager object. |
static void |
setCurrentLanguage(java.lang.String currentLanguage)
Set the current language of the program. |
Methods inherited from class java.util.Properties |
---|
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames |
Methods inherited from class java.util.Hashtable |
---|
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, remove, size, toString, values |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String[] languages
Method Detail |
---|
public static LanguageManager getInstance()
public static void setCurrentLanguage(java.lang.String currentLanguage)
currentLanguage
- name of the language that you want to loadpublic static java.lang.String getCurrentLanguage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |