Class FileInputProvider

java.lang.Object
org.springframework.shell.jline.FileInputProvider
All Implemented Interfaces:
Closeable, AutoCloseable, InputProvider

public class FileInputProvider extends Object implements InputProvider, Closeable
An InputProvider that reads input from file-like sources.

Still uses a Parser to interpret word boundaries. Supports backslashes at end of line to signal line continuation.

  • Constructor Details

    • FileInputProvider

      public FileInputProvider(Reader reader, org.jline.reader.Parser parser)
  • Method Details