public class ProcessReader extends Object
Constructor and Description |
---|
ProcessReader(Process process,
PrintStream printStream,
boolean isError)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
startReading()
Starts reading the output (or error) of the process.
|
public ProcessReader(Process process, PrintStream printStream, boolean isError)
process
- process whose output/error we want to write to the print stream.printStream
- the print stream.isError
- whether we must write the error (or the output) must be written to the stream.Copyright 2010-2018 ForgeRock AS.