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:SecureReaderReads a line from the console, insecurely.- Specified by:
readin interfaceSecureReader- Parameters:
fmt- the formatargs- thea arguments- Returns:
- the value read from the console
-
reads
Description copied from interface:SecureReaderReads a single line from the terminal. Providing hte supplied prompt.- Specified by:
readsin interfaceSecureReader- Parameters:
fmt- the format stringargs- the format string args- Returns:
- the string that was read from the terminal
-