Class JLineInputProvider

java.lang.Object
org.springframework.shell.jline.JLineInputProvider
All Implemented Interfaces:
org.springframework.shell.core.InputProvider

public class JLineInputProvider extends Object implements org.springframework.shell.core.InputProvider
  • Constructor Details

    • JLineInputProvider

      public JLineInputProvider(org.jline.reader.LineReader lineReader)
      Create a new JLineInputProvider instance.
      Parameters:
      lineReader - the JLine line reader
  • Method Details

    • readInput

      public String readInput()
      Specified by:
      readInput in interface org.springframework.shell.core.InputProvider
    • setPromptProvider

      public void setPromptProvider(PromptProvider promptProvider)
    • getLineReader

      public org.jline.reader.LineReader getLineReader()