Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.apache.tools.ant.taskdefs.optional.perforce.P4HandlerAdapter
org.apache.tools.ant.taskdefs.optional.perforce.SimpleP4OutputHandler
public class SimpleP4OutputHandler
extends P4HandlerAdapter
Constructor Summary | |
|
Method Summary | |
void |
|
Methods inherited from class org.apache.tools.ant.taskdefs.optional.perforce.P4HandlerAdapter | |
process , setOutput , setProcessErrorStream , setProcessInputStream , setProcessOutputStream , start , stop |
public SimpleP4OutputHandler(P4Base parent)
simple constructor
- Parameters:
parent
- a P4Base instance
public void process(String line) throws BuildException
process one line of stderr/stdout if error conditions are detected, then setters are called on the parent
- Overrides:
- process in interface P4HandlerAdapter
- Parameters:
line
- line of output
- Throws:
BuildException
- does not throw exceptions any more