|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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. Init must be overridden to read the environment variables it needs. This method is called by Module.startModule(), which makes sure it is not called
more than once. You should not call init() directly, call startModule() instead. |
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, unload |
| Methods inherited from class org.mmbase.module.Module |
getInitParameter, getInitParameters, getMaintainer, getMimeType, getMimeTypeFile, getModule, getModule, getModuleInfo, getModules, getName, getProperties, getProperty, getVersion, hasStarted, loadModulesFromDisk, maintainance, setInitParameter, setMaintainer, setName, setVersion, shutdown, shutdownModules, 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()
ProcessorModuleModule.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 interface ProcessorInterfacereplace in class ProcessorModulepublic java.lang.String getFromCoreEnglish(java.lang.String term)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||