jess
Class Main

java.lang.Object
  |
  +--jess.Main

public class Main
extends java.lang.Object

A command-line interface for Jess; also displayed in a window by the Console classes.

(C) 1998 E.J. Friedman-Hill and the Sandia Corporation


Constructor Summary
Main()
           
 
Method Summary
 void execute(boolean doPrompt)
          Repeatedly parse and excute commands, from location determined during initialize().
 Main initialize(java.lang.String[] argv, Rete r)
          Set a Main object up for later execution.
static void main(java.lang.String[] argv)
           
 void showLogo()
          Display the Jess startup banner on the Rete object's standard output, something like
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Main

public Main()
Method Detail

main

public static void main(java.lang.String[] argv)

showLogo

public void showLogo()
Display the Jess startup banner on the Rete object's standard output, something like
 Copyright (C) 1998 E.J. Friedman Hill and the Sandia Corporation
 Jess Version 5.0a5 5/27/99
 

initialize

public Main initialize(java.lang.String[] argv,
                       Rete r)
Set a Main object up for later execution.
Parameters:
argv - Command-line arguments
r - An initialized Rete object, with routers set up

execute

public void execute(boolean doPrompt)
Repeatedly parse and excute commands, from location determined during initialize().
Parameters:
doPrompt - True if a prompt should be printed, false otherwise. Prompts will never be printed during a (batch) command.

© 1997 E.J. Friedman-Hill and Sandia Corporation