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
-
Method Summary
-
Constructor Details
-
FileInputProvider
-
-
Method Details
-
readInput
Description copied from interface:InputProvider
Return text entered by user to invoke commands.Returning null indicates end of input, requesting shell exit.
- Specified by:
readInput
in interfaceInputProvider
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-