Package gda.jython.commands
Class InputCommands
java.lang.Object
gda.jython.commands.InputCommands
InputCommands
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringRequest input from the Jython terminal.static StringrequestInput(String promptString) Request input from the Jython terminal with a prompt.
-
Method Details
-
requestInput
Request input from the Jython terminal with a prompt. For Jython code this should not be required directly as the builtin input and raw_input functions redirect to here.- Parameters:
promptString- to display to user asking for input- Returns:
- String entered by user
- Throws:
InterruptedException- if the thread is interrupted or the user cancels the input- See Also:
-
requestInput
Request input from the Jython terminal. For Jython code this should not be required directly as the builtin input and raw_input functions redirect to here.- Returns:
- String entered by user
- Throws:
InterruptedException- if the thread is interrupted or the user cancels the input- See Also:
-