public class AgentPromptInfo extends Object implements PromptInput
PromptInput implementation that the agent can use to obtain input from the native system. Note
that if the native libraries are not available or have been disabled, this will effectively fallback to using the
Java-only mechanism to read input and will therefore always echo the input (i.e. calling readLineNoEcho()
will do the same as readLine()).| Constructor and Description |
|---|
AgentPromptInfo(AgentMain agent) |
public AgentPromptInfo(AgentMain agent)
public String readLine() throws IOException
readLine in interface PromptInputIOExceptionpublic String readLineNoEcho() throws IOException
readLineNoEcho in interface PromptInputIOExceptionCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.