Project CASUAL
API for CASUAL
 All Classes Namespaces Functions Variables
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
CASUAL.language.CASUALLanguage Class Reference

Public Member Functions

 CASUALLanguage (Caspac caspac, String ScriptTempFolder)
 
 CASUALLanguage (CASUALSessionData sd, String ScriptName, String ScriptTempFolder)
 
Caspac getCaspac ()
 
CASUALSessionData getSessionData ()
 
void beginScriptingHandler (DataInputStream dataIn)
 
String commandHandler (String line) throws Exception
 
String commandHandler (Command cmd) throws Exception
 
 CASUALLanguage (Caspac caspac, String ScriptTempFolder)
 
 CASUALLanguage (CASUALSessionData sd, String ScriptName, String ScriptTempFolder)
 
Caspac getCaspac ()
 
CASUALSessionData getSessionData ()
 
void beginScriptingHandler (DataInputStream dataIn)
 
String commandHandler (String line) throws Exception
 
String commandHandler (Command cmd) throws Exception
 

Static Public Member Functions

static void reset ()
 
static void reset ()
 

Static Public Attributes

static String GOTO = ""
 

Detailed Description

CASUALLanguage is where the CASUALLanguage is interperated

Author
Adam Outler adamo.nosp@m.utle.nosp@m.r@gma.nosp@m.il.c.nosp@m.om

Constructor & Destructor Documentation

CASUAL.language.CASUALLanguage.CASUALLanguage ( Caspac  caspac,
String  ScriptTempFolder 
)

instantiates CASUALLanguage with script

Parameters
caspacthe CASPAC used for the script
ScriptTempFoldertemp folder to use for script
CASUAL.language.CASUALLanguage.CASUALLanguage ( CASUALSessionData  sd,
String  ScriptName,
String  ScriptTempFolder 
)

Constructor for CASUALLanguage

Parameters
sdThe CASUALSessionData instace to use for this.
ScriptNameName of script to be executed
ScriptTempFolderFolder in which script is executing.
CASUAL.language.CASUALLanguage.CASUALLanguage ( Caspac  caspac,
String  ScriptTempFolder 
)

instantiates CASUALLanguage with script

Parameters
caspacthe CASPAC used for the script
ScriptTempFoldertemp folder to use for script
CASUAL.language.CASUALLanguage.CASUALLanguage ( CASUALSessionData  sd,
String  ScriptName,
String  ScriptTempFolder 
)

Constructor for CASUALLanguage

Parameters
sdThe CASUALSessionData instace to use for this.
ScriptNameName of script to be executed
ScriptTempFolderFolder in which script is executing.

Member Function Documentation

void CASUAL.language.CASUALLanguage.beginScriptingHandler ( DataInputStream  dataIn)

starts the scripting handler spooler and handles flow control

Parameters
dataInCASUALScript .scr file
void CASUAL.language.CASUALLanguage.beginScriptingHandler ( DataInputStream  dataIn)

starts the scripting handler spooler and handles flow control

Parameters
dataInCASUALScript .scr file
String CASUAL.language.CASUALLanguage.commandHandler ( String  line) throws Exception

Process a line of CASUAL script.

Parameters
lineCASUAL line to process
Returns
value returned from CASUAL command
Exceptions
java.io.IOExceptionWhen permissions problem exists
String CASUAL.language.CASUALLanguage.commandHandler ( String  line) throws Exception

Process a line of CASUAL script.

Parameters
lineCASUAL line to process
Returns
value returned from CASUAL command
Exceptions
java.io.IOExceptionWhen permissions problem exists
String CASUAL.language.CASUALLanguage.commandHandler ( Command  cmd) throws Exception

Process a CASUAL Command.

Parameters
cmdCASUAL command to process.
Returns
value returned from CASUAL command
Exceptions
java.io.IOExceptionWhen permissions problem exists
String CASUAL.language.CASUALLanguage.commandHandler ( Command  cmd) throws Exception

Process a CASUAL Command.

Parameters
cmdCASUAL command to process.
Returns
value returned from CASUAL command
Exceptions
java.io.IOExceptionWhen permissions problem exists
static void CASUAL.language.CASUALLanguage.reset ( )
static

resets the script

static void CASUAL.language.CASUALLanguage.reset ( )
static

resets the script


The documentation for this class was generated from the following file: