Class JevaUW
- public class JevaUW
A simple wrapper around the JevaCLI to capture input and output
and dump it to a file.
- Author:
- Ben Dugan
JevaUW
public JevaUW(java.lang.String fileName)
throws java.io.IOException
- Create a new Jeva wrapper, using the provided fileName as a trace
file.
JevaUW
public JevaUW(JevaUW old)
- Create a new Jeva wrapper, using the old Jeva wrapper's tracefile,
and standard input and output. The new Jeva wrapper will not have
access to the environment of the old wrapper.
repl
public void repl()
throws java.lang.Throwable
- Start the read-eval-print-loop and go forever.
repl
public void repl(java.lang.String inFileName)
throws java.lang.Throwable
- Start a read-eval-printloop, using the contents of the given file
as initial statements.
fileIn
public static void fileIn(java.lang.String fromFile)
- Start a new read-eval-print-loop, with the initial statements coming
from the given fromFile. If an interpreter is already active, the
tracefile, and input/output of that interpreter is used. If not
a new interpreter is initialized.
main
public static void main(java.lang.String[] args)