org.apache.tools.ant.taskdefs.optional.perforce
Class SimpleP4OutputHandler
- ExecuteStreamHandler, P4Handler
public class SimpleP4OutputHandler
simple implementation of P4HandlerAdapter used by tasks which are not
actually processing the output from Perforce
void | process(String line) - process one line of stderr/stdout
if error conditions are detected, then setters are called on the
parent
|
SimpleP4OutputHandler
public SimpleP4OutputHandler(P4Base parent)
simple constructor
parent
- a P4Base instance
process
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
- process in interface P4Handler
- process in interface P4HandlerAdapter
line
- line of output
BuildException
- does not throw exceptions any more
Copyright B) 2000-2005 Apache Software Foundation. All Rights Reserved.