|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Translator
An interface for translation objects (a utility for looking up translations in a resource bundle.
Copyright (c) Formaria Ltd., 2008
$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 | ||||||||