public interface ConsoleProvider
Modifier and Type | Interface and Description |
---|---|
static class |
ConsoleProvider.Factory |
Modifier and Type | Method and Description |
---|---|
void |
flush() |
void |
print(String text) |
void |
printErrorMessage(String errorMessage) |
void |
printErrorMessage(Throwable ex) |
void |
println() |
void |
println(String text) |
char |
readFirstChar(String prompt) |
String |
readLine() |
String |
readLine(String prompt) |
String |
readPassword(String prompt) |
boolean |
readYesNo(String prompt,
boolean defaultValue) |
String readLine() throws IOException
IOException
String readLine(String prompt) throws IOException
IOException
boolean readYesNo(String prompt, boolean defaultValue) throws IOException
IOException
String readPassword(String prompt) throws IOException
IOException
char readFirstChar(String prompt) throws IOException
IOException
void print(String text)
void println()
void println(String text)
void printErrorMessage(String errorMessage)
void printErrorMessage(Throwable ex)
void flush()
Copyright © 2002-2022 Atlassian. All Rights Reserved.