Package org.springframework.shell.jline
Class FileInputProvider
java.lang.Object
org.springframework.shell.jline.FileInputProvider
- All Implemented Interfaces:
Closeable,AutoCloseable,InputProvider
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 Summary
Constructors -
Method Summary
-
Constructor Details
-
FileInputProvider
-
-
Method Details
-
readInput
Description copied from interface:InputProviderReturn text entered by user to invoke commands.Returning null indicates end of input, requesting shell exit.
- Specified by:
readInputin interfaceInputProvider
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-