|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tools.ant.taskdefs.optional.perforce.P4HandlerAdapter | +--org.apache.tools.ant.taskdefs.optional.perforce.SimpleP4OutputHandler
simple implementation of P4HandlerAdapter used by tasks which are not actually processing the output from Perforce
Constructor Summary | |
SimpleP4OutputHandler(P4Base parent)
simple constructor |
Method Summary | |
void |
process(java.lang.String line)
process one line of stderr/stdout if error conditions are detected, then setters are called on the parent |
Methods inherited from class org.apache.tools.ant.taskdefs.optional.perforce.P4HandlerAdapter |
setOutput, setProcessErrorStream, setProcessInputStream, setProcessOutputStream, start, stop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SimpleP4OutputHandler(P4Base parent)
parent
- a P4Base instanceMethod Detail |
public void process(java.lang.String line) throws BuildException
process
in interface P4Handler
process
in class P4HandlerAdapter
line
- line of output
BuildException
- does not throw exceptions any more
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |