Package dev.getelements.elements.setup
Interface SecureReader
- All Known Implementing Classes:
LineReaderSecureReader
public interface SecureReader
Securely reads the prompt from a shell (without echoing what is typed).
-
Method Summary
-
Method Details
-
read
Reads a line from the console, insecurely.- Parameters:
fmt
- the formatargs
- thea arguments- Returns:
- the value read from the console
-
reads
Reads a single line from the terminal. Providing hte supplied prompt.- Parameters:
fmt
- the format stringargs
- the format string args- Returns:
- the string that was read from the terminal
-