|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.alee.managers.language.LanguageUtils
public class LanguageUtils
This class provides a set of utilities to work with LanguageManager.
Constructor Summary | |
---|---|
LanguageUtils()
|
Method Summary | |
---|---|
static java.util.List<java.lang.String> |
gatherKeys(Dictionary dictionary)
Returns all dictionary keys. |
static java.lang.String |
getInitialText(java.lang.String text,
java.lang.Object... data)
Returns proper initial component text. |
static void |
mergeDictionary(Dictionary dictionary,
Dictionary mergeInto)
Merges specified dictionary with the global dictionary. |
static void |
registerInitialLanguage(LanguageMethods component,
java.lang.String text,
java.lang.Object... data)
Registers proper initial component language key. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LanguageUtils()
Method Detail |
---|
public static java.lang.String getInitialText(java.lang.String text, java.lang.Object... data)
text
- text provided into component constructordata
- language data, may not be passed
public static void registerInitialLanguage(LanguageMethods component, java.lang.String text, java.lang.Object... data)
component
- translated componenttext
- text provided into component constructordata
- language data, may not be passedpublic static java.util.List<java.lang.String> gatherKeys(Dictionary dictionary)
dictionary
- dictionary to gather keys for
public static void mergeDictionary(Dictionary dictionary, Dictionary mergeInto)
dictionary
- dictionary to merge
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |