Package tigase.util.ui.console
Class SystemConsole
- java.lang.Object
-
- tigase.util.ui.console.SystemConsole
-
- All Implemented Interfaces:
ConsoleIfc
public class SystemConsole extends Object implements ConsoleIfc
Simple SystemConsole class handling user input/output from command-line, including labels and secure password reading
-
-
Constructor Summary
Constructors Constructor Description SystemConsole()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringreadLine()StringreadLine(String label)char[]readPassword(String label)voidwriteLine(Object obj)voidwriteLine(String format, Object... args)
-
-
-
Method Detail
-
readLine
public String readLine()
- Specified by:
readLinein interfaceConsoleIfc
-
readLine
public String readLine(String label)
- Specified by:
readLinein interfaceConsoleIfc
-
readPassword
public char[] readPassword(String label)
- Specified by:
readPasswordin interfaceConsoleIfc
-
writeLine
public void writeLine(String format, Object... args)
- Specified by:
writeLinein interfaceConsoleIfc
-
writeLine
public void writeLine(Object obj)
- Specified by:
writeLinein interfaceConsoleIfc
-
-