Prompter.this

Constructs a new prompter with the given file source from where the input is to be read from.

class Prompter
this
(
File source
,
bool closeOnDestruct = false
)

Parameters

source File

the File to read from

closeOnDestruct bool

if set to true then on destruction we will close the source, if false it is left untouched

Throws

Exception if the provided File is not open

Meta