peterreilly 2005/01/28 03:22:12 Modified: src/main/org/apache/tools/ant/taskdefs PumpStreamHandler.java Log: javadoc Revision Changes Path 1.22 +12 -5 ant/src/main/org/apache/tools/ant/taskdefs/PumpStreamHandler.java Index: PumpStreamHandler.java =================================================================== RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/PumpStreamHandler.java,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- PumpStreamHandler.java 27 Jan 2005 16:36:11 -0000 1.21 +++ PumpStreamHandler.java 28 Jan 2005 11:22:12 -0000 1.22 @@ -173,8 +173,8 @@ /** * Create the pump to handle process output. - * @param is the <CODE>InputStream</CODE>. - * @param os the <CODE>OutputStream</CODE>. + * @param is the <code>InputStream</code>. + * @param os the <code>OutputStream</code>. */ protected void createProcessOutputPump(InputStream is, OutputStream os) { outputThread = createPump(is, os); @@ -182,8 +182,8 @@ /** * Create the pump to handle error output. - * @param is the <CODE>InputStream</CODE>. - * @param os the <CODE>OutputStream</CODE>. + * @param is the input stream to copy from. + * @param os the output stream to copy to. */ protected void createProcessErrorPump(InputStream is, OutputStream os) { errorThread = createPump(is, os); @@ -192,6 +192,9 @@ /** * Creates a stream pumper to copy the given input stream to the * given output stream. + * @param is the input stream to copy from. + * @param os the output stream to copy to. + * @return a thread object that does the pumping. */ protected Thread createPump(InputStream is, OutputStream os) { return createPump(is, os, false); @@ -200,6 +203,10 @@ /** * Creates a stream pumper to copy the given input stream to the * given output stream. + * @param is the input stream to copy from. + * @param os the output stream to copy to. + * @param closeWhenExhausted if true close the inputstream. + * @return a thread object that does the pumping. */ protected Thread createPump(InputStream is, OutputStream os, boolean closeWhenExhausted) { @@ -208,7 +215,7 @@ result.setDaemon(true); return result; } - + /** * Creates a stream pumper to copy the given input stream to the * given output stream. Used for standard input.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]