public class Console
extends java.lang.Object
Constructor and Description |
---|
Console()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
enter(char[] cbuf,
int offset,
int size)
Sends the specified characters to the scripting engine
|
void |
enter(java.lang.String str)
Sends the specified string to the scripting engine
|
ConsoleUI |
getConsoleUI()
Gets the UI object of this console
|
java.io.Reader |
getReader()
Gets the Reader from this console
|
java.io.Writer |
getWriter()
Gets the OutputStream from this console
|
void |
setConsoleUI(ConsoleUI ui)
Sets the UI object of this console
|
protected ConsoleUI ui
public void setConsoleUI(ConsoleUI ui)
public ConsoleUI getConsoleUI()
public java.io.Reader getReader()
public java.io.Writer getWriter()
public void enter(java.lang.String str) throws java.io.IOException
java.io.IOException
public void enter(char[] cbuf, int offset, int size) throws java.io.IOException
java.io.IOException