|
||||||||
| 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.Upload
the Upload module stores files that are uploaded. At this time files van only be stored in memory. nog wat uitleg over hoe je de .shtml maakt
| Constructor Summary | |
Upload()
|
|
| Method Summary | |
void |
deleteFile(java.lang.String filename)
deletes an uploaded file. |
byte[] |
getFile(java.lang.String filename)
gets the bytearray of an uploaded file. |
void |
init()
Initializes the module. |
boolean |
process(scanpage sp,
java.util.Hashtable cmds,
java.util.Hashtable vars)
handle the uploaded bytestream. |
| Methods inherited from class org.mmbase.module.ProcessorModule |
cacheCheck, getList, getListBuilder, getNodeList, onload, reload, replace, 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 Upload()
| 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 boolean process(scanpage sp,
java.util.Hashtable cmds,
java.util.Hashtable vars)
process in class ProcessorModulepublic void deleteFile(java.lang.String filename)
filename - the name of the file, e.g. mem://filenamepublic byte[] getFile(java.lang.String filename)
filename - the name of the file, e.g. mem://filename
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||