|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.enterprise.agent.JLineAgentInputReader
public class JLineAgentInputReader
| Constructor Summary | |
|---|---|
JLineAgentInputReader(AgentMain agent)
|
|
JLineAgentInputReader(AgentMain agent,
FileInputStream fis)
|
|
| Method Summary | |
|---|---|
void |
addCompletor()
|
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 JLineAgentInputReader(AgentMain agent)
throws IOException
IOException
public JLineAgentInputReader(AgentMain agent,
FileInputStream fis)
throws IOException
IOException| Method Detail |
|---|
public void addCompletor()
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 | |||||||||