|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.xoetrope.xui.helper.XDefaultTranslator
public class XDefaultTranslator
| Field Summary | |
|---|---|
protected java.util.ResourceBundle |
languageResourceBundle
|
| Constructor Summary | |
|---|---|
XDefaultTranslator()
Creates a new instance of XDefaultTranslator |
|
| Method Summary | |
|---|---|
void |
setResourceBundle(java.util.ResourceBundle bundle)
Set the resource bundle for this translator |
java.lang.String |
translate(java.lang.String key)
Look up the translation of a key using the current language resource. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.ResourceBundle languageResourceBundle
| Constructor Detail |
|---|
public XDefaultTranslator()
| Method Detail |
|---|
public void setResourceBundle(java.util.ResourceBundle bundle)
setResourceBundle in interface XTranslatorbundle - the translation resource bundlepublic java.lang.String translate(java.lang.String key)
translate in interface XTranslatorkey - the key string
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||