|
|||||||||
| 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.INFO
The INFO module provides access to the environment on which the mmbase system resides. It can retrieve information on the file system, system memory, time, current user or browser, and miscellaneous information that is not directly related to the object cloud. Most functions in this module are specific for SCAN - other scripting languages generally have their own ways of obtaining this data.
| Field Summary | |
static int |
Dutch
|
static int |
English
|
static int |
Not
|
| Constructor Summary | |
INFO()
Constructor for |
|
| Method Summary | |
java.lang.String |
doExists(scanpage sp,
java.util.StringTokenizer tok)
Tests whether a given filename exists either as a directory, as a file, or as a path (depending on the subcommand given). |
java.util.Vector |
getList(scanpage sp,
StringTagger tagger,
java.lang.String value)
Generate a list of values from a command to the processor. |
java.lang.String |
getModuleInfo()
Returns a description of the module. |
void |
init()
Initializes the module. |
boolean |
process(scanpage sp,
java.util.Hashtable cmds,
java.util.Hashtable vars)
Execute the commands provided in the form values. |
java.lang.String |
replace(scanpage sp,
java.lang.String cmds)
Handle a $MOD command. |
| Methods inherited from class org.mmbase.module.ProcessorModule |
cacheCheck, getListBuilder, getNodeList, onload, reload, replace, unload |
| Methods inherited from class org.mmbase.module.Module |
getInitParameter, getInitParameters, getMaintainer, getMimeType, getMimeTypeFile, getModule, getModule, 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 |
| Field Detail |
public static final int Not
public static final int Dutch
public static final int English
| Constructor Detail |
public INFO()
| Method Detail |
public void init()
init in class ProcessorModule
public java.util.Vector getList(scanpage sp,
StringTagger tagger,
java.lang.String value)
throws ParseException
getList in interface ProcessorInterfacegetList in class ProcessorModulesp - the current page contexttagger - the parameters (name-value pairs) belonging to the command to processvalue - the command to process
Vector containing the requested values.
ParseException
public boolean process(scanpage sp,
java.util.Hashtable cmds,
java.util.Hashtable vars)
process in interface ProcessorInterfaceprocess in class ProcessorModulesp - the current page contextcmds - the command to processvars - the variables to process
false
public java.lang.String replace(scanpage sp,
java.lang.String cmds)
replace in interface ProcessorInterfacereplace in class ProcessorModulesp - the current page contextcmds - the command to process
String with the command's result valuepublic java.lang.String getModuleInfo()
getModuleInfo in class ModuleString describing the module's function.
public java.lang.String doExists(scanpage sp,
java.util.StringTokenizer tok)
sp - the current page contexttok - the commands to be executed
String withe the value 'YES' if the check succeeded, 'NO' if it failed.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||