|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AgentInputReader
Abstracts out the console input to allow us to use either a native console or a Java based console.
| Method Summary | |
|---|---|
void |
close()
Close the reader. |
boolean |
isConsole()
Indicates if the input is coming from a console (i.e. |
String |
readLine()
Reads a line from the input console. |
String |
readLineNoEcho()
Read a line of input, but do not echo back to the user what is being typed. |
| Method Detail |
|---|
boolean isConsole()
true if console is the source of the input; false if file is the source
String readLine()
throws IOException
IOException
String readLineNoEcho()
throws IOException
IOException
void close()
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||