|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--org.mmbase.module.Module
|
+--org.mmbase.module.ProcessorModule
|
+--org.mmbase.module.gui.html.MMLanguage
Module for multi-language support. This module reads (english) terms and their localized value(s) from a configuration file. It can then return the localized terms when needed.
| Constructor Summary | |
MMLanguage()
Basic constructor |
|
| Method Summary | |
java.lang.String |
getFromCoreEnglish(java.lang.String term)
|
void |
init()
Initializes the module. |
java.lang.String |
replace(scanpage sp,
java.lang.String cmds)
Handles the $MOD-MMLANGUAGE-commands. |
| Methods inherited from class org.mmbase.module.ProcessorModule |
cacheCheck, getList, getListBuilder, getNodeList, onload, process, reload, replace, shutdown, unload |
| Methods inherited from class org.mmbase.module.Module |
getClassName, getInitParameter, getInitParameters, getMaintainer, getMimeType, getMimeTypeFile, getModule, getModule, getModuleInfo, getModules, getName, getProperties, getProperty, getVersion, hasStarted, loadModulesFromDisk, maintainance, setClassName, setInitParameter, setMaintainer, setName, setVersion, startModule, startModules, state |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MMLanguage()
| Method Detail |
public void init()
ModuleModule.startModule(), which makes sure it is not called
more than once. You should not call init() directly, call startModule() instead.init in class ProcessorModule
public java.lang.String replace(scanpage sp,
java.lang.String cmds)
replace in class ProcessorModulescanpage - the current page contexttok - the tokenized commandpublic java.lang.String getFromCoreEnglish(java.lang.String term)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||