FileDocCategorySizeDatePackage
RedirectingOutputStream.javaAPI DocApache Ant 1.701519Wed Dec 13 06:16:20 GMT 2006org.apache.tools.ant.taskdefs.cvslib

RedirectingOutputStream

public class RedirectingOutputStream extends org.apache.tools.ant.util.LineOrientedOutputStream
A dummy stream that just passes stuff to the parser.

Fields Summary
private final ChangeLogParser
parser
Constructors Summary
public RedirectingOutputStream(ChangeLogParser parser)
Creates a new instance of this class.

param
parser the parser to which output is sent.

        this.parser = parser;
    
Methods Summary
protected voidprocessLine(java.lang.String line)
Logs a line to the log system of ant.

param
line the line to log.

        parser.stdout(line);