|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface XTranslator
An interface for translation objects (a utility for looking up translations in a resource bundle.
Copyright (c) Xoetrope Ltd., 2002-2005
$Revision: 1.1 $
License: see License.txt
| 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. |
| Method Detail |
|---|
void setResourceBundle(java.util.ResourceBundle bundle)
bundle - the translation resource bundlejava.lang.String translate(java.lang.String key)
key - the key string
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||