private static class Console.StdConsole extends java.lang.Object implements ConsoleInterface
Modifier and Type | Field and Description |
---|---|
private java.io.BufferedReader |
_reader |
private java.io.BufferedWriter |
_writer |
Constructor and Description |
---|
StdConsole() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
readLine(java.lang.String prompt,
java.lang.Object... parameter) |
char[] |
readPassword(java.lang.String prompt,
java.lang.Object... parameter) |
void |
writeLine(java.lang.String prompt,
java.lang.Object... parameter) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
readBoolean, readInt, readString
private final java.io.BufferedReader _reader
private final java.io.BufferedWriter _writer
public java.lang.String readLine(java.lang.String prompt, java.lang.Object... parameter)
readLine
in interface ConsoleInterface
public char[] readPassword(java.lang.String prompt, java.lang.Object... parameter)
readPassword
in interface ConsoleInterface
public void writeLine(java.lang.String prompt, java.lang.Object... parameter)
writeLine
in interface ConsoleInterface