Interface InputPrompt
- All Superinterfaces:
Prompt
- All Known Subinterfaces:
NumberPrompt, PasswordPrompt
- All Known Implementing Classes:
DefaultInputPrompt, DefaultNumberPrompt, DefaultPasswordPrompt
Interface for input prompts.
An input prompt allows the user to enter text.
-
Method Summary
Modifier and TypeMethodDescriptionorg.jline.reader.CompleterGet the completer.Get the default value.org.jline.reader.LineReaderGet the line reader.getMask()Get the mask character for the input.Get the validator.Methods inherited from interface Prompt
getFilter, getMessage, getName, getTransformer
-
Method Details
-
getDefaultValue
-
getMask
Character getMask()Get the mask character for the input.- Returns:
- the mask character, or null if masking is disabled
-
getCompleter
org.jline.reader.Completer getCompleter()Get the completer.- Returns:
- the completer
-
getLineReader
org.jline.reader.LineReader getLineReader()Get the line reader.- Returns:
- the line reader
-
getValidator
-