Constructor and Description |
---|
ConsoleIOAdapter(org.jboss.aesh.console.Console console) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
error(String s) |
int |
getWidth() |
boolean |
isInteractive() |
void |
println(String s) |
String |
readln(String prompt) |
void |
result(List<ProcessedCommand> commands,
String result,
boolean isError) |
String |
secureReadln(String prompt) |
public boolean isInteractive()
isInteractive
in interface IOAdapter
public String readln(String prompt) throws IOException
readln
in interface IOAdapter
IOException
public String secureReadln(String prompt) throws IOException
secureReadln
in interface IOAdapter
IOException
public void println(String s) throws IOException
println
in interface IOAdapter
IOException
public void error(String s) throws IOException
error
in interface IOAdapter
IOException
public void result(List<ProcessedCommand> commands, String result, boolean isError) throws IOException
result
in interface IOAdapter
IOException
public void close() throws IOException
close
in interface IOAdapter
IOException
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.