org.hawk.module.lib
Class FileModule

java.lang.Object
  extended by org.hawk.module.lib.FileModule
All Implemented Interfaces:
IModule

public class FileModule
extends java.lang.Object
implements IModule


Constructor Summary
FileModule()
           
 
Method Summary
 boolean delete(java.lang.Object... args)
           
 boolean list(java.lang.Object... args)
           
 boolean read(java.lang.Object... args)
           
 boolean reset()
          This resets one cycle of execution.
 boolean startUp()
          The target application's main module needs to implement it for its initialization.
 boolean write(java.lang.Object... args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileModule

public FileModule()
Method Detail

startUp

public boolean startUp()
Description copied from interface: IModule
The target application's main module needs to implement it for its initialization.

Specified by:
startUp in interface IModule
Returns:

reset

public boolean reset()
Description copied from interface: IModule
This resets one cycle of execution. This is useful when hawk is run in property mode.

Specified by:
reset in interface IModule
Returns:

read

public boolean read(java.lang.Object... args)
             throws java.lang.Exception
Throws:
java.lang.Exception

write

public boolean write(java.lang.Object... args)
              throws java.lang.Exception
Throws:
java.lang.Exception

delete

public boolean delete(java.lang.Object... args)
               throws java.lang.Exception
Throws:
java.lang.Exception

list

public boolean list(java.lang.Object... args)
             throws java.lang.Exception
Throws:
java.lang.Exception