|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bluemarsh.jswat.ui.ConsoleAdapter.ConsoleInputAdapter
Class ConsoleInputAdapter adapts the standard input stream to the CommandManager.
Field Summary | |
protected CommandManager |
commandManager
Where input is sent. |
protected java.io.BufferedReader |
inputReader
Where input comes from. |
Constructor Summary | |
ConsoleAdapter.ConsoleInputAdapter(java.io.InputStream input,
CommandManager cmdman)
Constructs a ConsoleInputAdapter to read from the given input stream and send the input to the given command manager. |
Method Summary | |
void |
run()
Read from the input stream and send the input to the command manager. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected CommandManager commandManager
protected java.io.BufferedReader inputReader
Constructor Detail |
public ConsoleAdapter.ConsoleInputAdapter(java.io.InputStream input, CommandManager cmdman)
input
- input stream.cmdman
- CommandManager to send input to.Method Detail |
public void run()
run
in interface java.lang.Runnable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |