|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xulux.utils.Translator
public class Translator
Retrievs the specified internationalized text
Constructor Summary | |
---|---|
protected |
Translator()
|
Method Summary | |
---|---|
protected static Translator |
getInstance()
|
static java.lang.String |
translate(java.util.List list,
java.lang.String key)
For now only support for full i18n (so the first entry in the key must be the percent sign to get translated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected Translator()
Method Detail |
---|
protected static Translator getInstance()
public static java.lang.String translate(java.util.List list, java.lang.String key)
list
- the list of urlskey
- the key to translate
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |