FileDocCategorySizeDatePackage
P4Handler.javaAPI DocApache Ant 1.701691Wed Dec 13 06:16:20 GMT 2006org.apache.tools.ant.taskdefs.optional.perforce

P4Handler

public interface P4Handler implements org.apache.tools.ant.taskdefs.ExecuteStreamHandler
Interface for p4 job output stream handler. Classes implementing this interface can be called back by P4Base.execP4Command();

Fields Summary
Constructors Summary
Methods Summary
public voidprocess(java.lang.String line)
processing of one line of stdout or of stderr

param
line a line of stdout or stderr that the implementation will process
throws
BuildException at the discretion of the implementation.

public voidsetOutput(java.lang.String line)
set any data to be written to P4's stdin

param
line the text to write to P4's stdin
throws
BuildException if the line cannot be processed.