public interface AgentInputReader
| Modifier and Type | Method and Description |
|---|---|
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.
|
boolean isConsole()
true if console is the source of the input; false if file is the sourceString readLine() throws IOException
IOExceptionString readLineNoEcho() throws IOException
IOExceptionvoid close()
throws IOException
IOExceptionCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.