org.jext.dawn.io
Class OpenOutputFunction

java.lang.Object
  extended byorg.jext.dawn.Function
      extended byorg.jext.dawn.io.OpenOutputFunction

public class OpenOutputFunction
extends Function

Opens a file from the HD to write in it. The opened file is designed by an ID.
Usage:
file ID openForOutput
Where file and ID are both string. First one is the path to the file - which can be either absolute, either relative -, and the second one is the file ID.

Author:
Romain Guy

Constructor Summary
OpenOutputFunction()
           
 
Method Summary
 void invoke(DawnParser parser)
          Executes the function.
 
Methods inherited from class org.jext.dawn.Function
getHelp, getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenOutputFunction

public OpenOutputFunction()
Method Detail

invoke

public void invoke(DawnParser parser)
            throws DawnRuntimeException
Description copied from class: Function
Executes the function. Usually, the function should make use of the DawnParser given as parameter.

Overrides:
invoke in class Function
Parameters:
parser - The DawnParser which inoked the function
Throws:
DawnRuntimeException


Copyright ? 2002 Romain Guy.