|
|||||||||||
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. |
Method Summary | |
static void |
main(java.lang.String[] args)
Entry point when called directly. |
protected java.lang.String |
read()
Reads a single statement from the command line. |
protected void |
reset()
Resets the command-line processing machinery after use. |
void |
run(java.lang.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()
Method Detail |
public static void main(java.lang.String[] args)
public void run(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
protected void reset()
protected java.lang.String read()
NOTE: Changed, for now, to read until 'execute' is issued. At 'execute', the statement must be complete.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |