|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgroovy.ui.InteractiveShell
A simple interactive shell for evaluating groovy expressions on the command line
Constructor Summary | |
InteractiveShell()
Default constructor. |
|
InteractiveShell(Binding binding,
InputStream in,
PrintStream out,
PrintStream err)
|
|
InteractiveShell(InputStream in,
PrintStream out,
PrintStream err)
|
Method Summary | |
protected void |
close()
|
static void |
main(String[] args)
Entry point when called directly. |
protected String |
read()
Reads a single statement from the command line. |
protected void |
reset()
Resets the command-line processing machinery after use. |
void |
run(String[] args)
Reads commands and statements from input stream and processes them. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public InteractiveShell()
public InteractiveShell(InputStream in, PrintStream out, PrintStream err)
public InteractiveShell(Binding binding, InputStream in, PrintStream out, PrintStream err)
Method Detail |
public static void main(String[] args)
public void run(String[] args) throws Exception
Exception
protected void close()
protected void reset()
protected String read()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |