public class SimpleP4OutputHandler extends P4HandlerAdapter
Constructor and Description |
---|
SimpleP4OutputHandler(P4Base parent)
simple constructor
|
Modifier and Type | Method and Description |
---|---|
void |
process(java.lang.String line)
process one line of stderr/stdout
if error conditions are detected, then setters are called on the
parent
|
setOutput, setProcessErrorStream, setProcessInputStream, setProcessOutputStream, start, stop
public SimpleP4OutputHandler(P4Base parent)
parent
- a P4Base instancepublic void process(java.lang.String line) throws BuildException
process
in interface P4Handler
process
in class P4HandlerAdapter
line
- line of outputBuildException
- does not throw exceptions any more