|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectpnuts.tools.Console
public class Console
General purpose Console
| Field Summary | |
|---|---|
protected ConsoleUI |
ui
|
| Constructor Summary | |
|---|---|
Console()
Constructor |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ConsoleUI ui
| Constructor Detail |
|---|
public Console()
| Method Detail |
|---|
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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||