You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by hi...@apache.org on 2011/04/28 00:11:54 UTC
svn commit: r1097260 -
/ant/core/trunk/src/main/org/apache/tools/ant/util/LineOrientedOutputStreamRedirector.java
Author: hibou
Date: Wed Apr 27 22:11:54 2011
New Revision: 1097260
URL: http://svn.apache.org/viewvc?rev=1097260&view=rev
Log:
Improve javadoc
Modified:
ant/core/trunk/src/main/org/apache/tools/ant/util/LineOrientedOutputStreamRedirector.java
Modified: ant/core/trunk/src/main/org/apache/tools/ant/util/LineOrientedOutputStreamRedirector.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/util/LineOrientedOutputStreamRedirector.java?rev=1097260&r1=1097259&r2=1097260&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/util/LineOrientedOutputStreamRedirector.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/util/LineOrientedOutputStreamRedirector.java Wed Apr 27 22:11:54 2011
@@ -19,10 +19,15 @@ package org.apache.tools.ant.util;
import java.io.IOException;
import java.io.OutputStream;
+
/**
- * provide a concrete implementation of LineOrientedOutputStream
+ * Output stream which buffer and redirect a stream line by line.
+ * <p>
+ * 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
- *
*/
public class LineOrientedOutputStreamRedirector
extends