Class LineOrientedOutputStreamRedirector

java.lang.Object
java.io.OutputStream
org.apache.tools.ant.util.LineOrientedOutputStream
org.apache.tools.ant.util.LineOrientedOutputStreamRedirector
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class LineOrientedOutputStreamRedirector extends LineOrientedOutputStream
Output stream which buffer and redirect a stream line by line.

If the source stream doesn't end with a end of line, one will be added. This is particularly useful in combination with the OutputStreamFunneler so each funneled stream get its line.

Since:
Ant 1.8.3