org.mmbase.module.gui.flash
Class MMFlash

java.lang.Object
  |
  +--org.mmbase.module.Module
        |
        +--org.mmbase.module.gui.flash.MMFlash

public class MMFlash
extends Module

Implements the parsing and generating of dynamic flash files

Version:
$Id: MMFlash.java,v 1.13.2.1 2002/03/01 14:02:38 pierre Exp $
Author:
Johannes Verelst, Daniel Ockeloen

Constructor Summary
MMFlash()
           
 
Method Summary
 byte[] getDebugSwt(scanpage sp)
           
 byte[] getParsedFlash(java.lang.String flashXML, java.lang.String workingdir)
          This function will try to generate a new flash thingie, generated from a template.
 byte[] getScanParsedFlash(scanpage sp)
           
 void init()
          Initializes the module.
 void onload()
           
 
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

MMFlash

public MMFlash()
Method Detail

init

public void init()
Description copied from class: Module
Initializes the module. Init can 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.
Overrides:
init in class Module

onload

public void onload()
Overrides:
onload in class Module

getDebugSwt

public byte[] getDebugSwt(scanpage sp)

getScanParsedFlash

public byte[] getScanParsedFlash(scanpage sp)

getParsedFlash

public byte[] getParsedFlash(java.lang.String flashXML,
                             java.lang.String workingdir)
This function will try to generate a new flash thingie, generated from a template. the only thing which has to be specified is the XML, and the working direcotory. This function was added, so that there is the possibility to use the generater from a place without SCAN
Parameters:
flashXML - a xml which contains the manipulations on the flash template
workingdir - the path where there has to be searched for the template and the other things, like pictures.(THIS LOOKS BELOW THE mmbase.htmlroot !!)
Returns:
a byte thingie, which contains the new generated flash thingie


MMBase 2002