|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.enterprise.agent.JavaAgentInputReader
public class JavaAgentInputReader
| Constructor Summary | |
|---|---|
JavaAgentInputReader()
|
|
JavaAgentInputReader(FileReader fr)
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JavaAgentInputReader()
throws IOException
IOException
public JavaAgentInputReader(FileReader fr)
throws IOException
IOException| Method Detail |
|---|
public boolean isConsole()
AgentInputReader
isConsole in interface AgentInputReadertrue if console is the source of the input; false if file is the source
public String readLine()
throws IOException
AgentInputReader
readLine in interface AgentInputReaderIOException
public String readLineNoEcho()
throws IOException
AgentInputReader
readLineNoEcho in interface AgentInputReaderIOException
public void close()
throws IOException
AgentInputReader
close in interface AgentInputReaderIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||