Package dev.getelements.elements.setup
Class LineReaderSecureReader
java.lang.Object
dev.getelements.elements.setup.LineReaderSecureReader
- All Implemented Interfaces:
SecureReader
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LineReaderSecureReader
@Inject public LineReaderSecureReader(org.jline.reader.LineReader lineReader)
-
-
Method Details
-
read
Description copied from interface:SecureReader
Reads a line from the console, insecurely.- Specified by:
read
in interfaceSecureReader
- Parameters:
fmt
- the formatargs
- thea arguments- Returns:
- the value read from the console
-
reads
Description copied from interface:SecureReader
Reads a single line from the terminal. Providing hte supplied prompt.- Specified by:
reads
in interfaceSecureReader
- Parameters:
fmt
- the format stringargs
- the format string args- Returns:
- the string that was read from the terminal
-