public class FileInputProvider extends Object implements InputProvider, Closeable
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 and Description | 
|---|
| FileInputProvider(Reader reader,
                 org.jline.reader.Parser parser) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close() | 
| Input | readInput()Return text entered by user to invoke commands. | 
public FileInputProvider(Reader reader, org.jline.reader.Parser parser)
public Input readInput()
InputProviderReturning null indicates end of input, requesting shell exit.
readInput in interface InputProviderpublic void close()
           throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2023. All rights reserved.