Top Description Fields Constructors Methods
org.apache.tools.ant.taskdefs.cvslib

pack-priv Class RedirectingOutputStream

extends LineOrientedOutputStream
Class Inheritance
Imports
org.apache.tools.ant.util.LineOrientedOutputStream

A dummy stream that just passes stuff to the parser.

Field Summary

Modifier and TypeField and Description
private final ChangeLogParser

Constructor Summary

AccessConstructor and Description
public
RedirectingOutputStream(final ChangeLogParser
the parser to which output is sent.
parser
)

Creates a new instance of this class.

Method Summary

Modifier and TypeMethod and Description
protected void
processLine(final String
the line to log.
line
)

Implements abstract org.apache.tools.ant.util.LineOrientedOutputStream.processLine.

Logs a line to the log system of ant.
Inherited from org.apache.tools.ant.util.LineOrientedOutputStream:
closeflushprocessBufferprocessLinewritewrite

Field Detail

parserback to summary
private final ChangeLogParser parser

Constructor Detail

RedirectingOutputStreamback to summary
public RedirectingOutputStream(final ChangeLogParser parser)

Creates a new instance of this class.

Parameters
parser:ChangeLogParser

the parser to which output is sent.

Method Detail

processLineback to summary
protected void processLine(final String line)

Implements abstract org.apache.tools.ant.util.LineOrientedOutputStream.processLine.

Logs a line to the log system of ant.

Parameters
line:String

the line to log.

Annotations
@Override