public class Console
extends java.lang.Object
Constructor and Description |
---|
Console() |
Modifier and Type | Method and Description |
---|---|
void |
exit() |
protected ScriptableProcessor |
getProcessor() |
protected void |
init()
This is called when the console is created.
|
protected void |
initSession()
This function is called at the beginning of the interactive session.
|
void |
interactiveSession(java.io.InputStream in,
java.io.PrintStream out,
java.io.PrintStream err) |
static void |
main(java.lang.String[] args) |
protected java.lang.String |
prompt() |
public void interactiveSession(java.io.InputStream in, java.io.PrintStream out, java.io.PrintStream err) throws java.io.IOException
java.io.IOException
protected java.lang.String prompt()
protected ScriptableProcessor getProcessor()
protected void init()
protected void initSession() throws javax.script.ScriptException
javax.script.ScriptException
public void exit()
public static void main(java.lang.String[] args)