|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.alee.managers.language.LM
public class LM
This is short-named reference class for some basic LanguageManager methods. It is added to reduce the code size of language values requests in cases of direct translations use.
Field Summary |
---|
Fields inherited from interface com.alee.managers.language.LanguageConstants |
---|
ARABIC, ENGLISH, FRENCH, GERMAN, POLISH, PORTUGUESE, RUSSIAN, SPANISH |
Constructor Summary | |
---|---|
LM()
|
Method Summary | |
---|---|
static boolean |
contains(java.lang.String key)
Returns whether specified language key exists or not. |
static java.lang.String |
get(java.lang.String key)
Returns translation for specified language key. |
static java.lang.String |
get(java.lang.String key,
java.lang.Object... data)
Returns translation for specified language key and formatting data. |
static java.lang.Character |
getMnemonic(java.lang.String key)
Returns mnemonic for specified language key. |
static Value |
getValue(java.lang.String key)
Returns language value for specified language key. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LM()
Method Detail |
---|
public static java.lang.String get(java.lang.String key)
key
- language key
public static java.lang.String get(java.lang.String key, java.lang.Object... data)
key
- language keydata
- formatting data
public static boolean contains(java.lang.String key)
key
- language key to check
public static java.lang.Character getMnemonic(java.lang.String key)
key
- language key
public static Value getValue(java.lang.String key)
key
- language key
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |