| 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 IOAdapterpublic String readln(String prompt) throws IOException
readln in interface IOAdapterIOExceptionpublic String secureReadln(String prompt) throws IOException
secureReadln in interface IOAdapterIOExceptionpublic void println(String s) throws IOException
println in interface IOAdapterIOExceptionpublic void error(String s) throws IOException
error in interface IOAdapterIOExceptionpublic void result(List<ProcessedCommand> commands, String result, boolean isError) throws IOException
result in interface IOAdapterIOExceptionpublic void close()
throws IOException
close in interface IOAdapterIOExceptionCopyright © 2024 JBoss, a division of Red Hat. All rights reserved.