- java.lang.Object
-
- io.github.mmm.cli.io.impl.CliInConsole
-
-
Field Summary
Fields Modifier and Type Field Description static CliInConsoleINSTANCEThe singleton instance.
-
Constructor Summary
Constructors Constructor Description CliInConsole(Console console)The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidflush()StringreadLine(String format, Object... args)char[]readPassword(String format, Object... args)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.github.mmm.cli.io.CliIn
readLine, readPassword
-
-
-
-
Field Detail
-
INSTANCE
public static final CliInConsole INSTANCE
The singleton instance.
-
-
Method Detail
-
readLine
public String readLine(String format, Object... args)
- Specified by:
readLinein interfaceCliIn- Parameters:
format- - seeConsole.readLine(String, Object...)args- - seeConsole.readLine(String, Object...)- Returns:
- - see
Console.readLine(String, Object...)
-
readPassword
public char[] readPassword(String format, Object... args)
- Specified by:
readPasswordin interfaceCliIn- Parameters:
format- - seeConsole.readPassword(String, Object...)args- - seeConsole.readPassword(String, Object...)- Returns:
- - see
Console.readPassword(String, Object...)
-
-