source: other-projects/trunk/gs3-release-maker/apache-ant-1.6.5/build/javadocs/org/apache/tools/ant/taskdefs/PumpStreamHandler.html@ 14627

Last change on this file since 14627 was 14627, checked in by oranfry, 17 years ago

initial import of the gs3-release-maker

File size: 23.2 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<!--NewPage-->
3<HTML>
4<HEAD>
5<!-- Generated by javadoc (build 1.4.2_13) on Mon Oct 01 14:33:21 NZST 2007 -->
6<TITLE>
7PumpStreamHandler (Apache Ant API)
8</TITLE>
9
10<META NAME="keywords" CONTENT="org.apache.tools.ant.taskdefs.PumpStreamHandler class">
11
12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
13
14<SCRIPT type="text/javascript">
15function windowTitle()
16{
17 parent.document.title="PumpStreamHandler (Apache Ant API)";
18}
19</SCRIPT>
20
21</HEAD>
22
23<BODY BGCOLOR="white" onload="windowTitle();">
24
25
26<!-- ========= START OF TOP NAVBAR ======= -->
27<A NAME="navbar_top"><!-- --></A>
28<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
29<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
30<TR>
31<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
32<A NAME="navbar_top_firstrow"><!-- --></A>
33<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
34 <TR ALIGN="center" VALIGN="top">
35 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
36 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
37 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
39 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
42 </TR>
43</TABLE>
44</TD>
45<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
46</EM>
47</TD>
48</TR>
49
50<TR>
51<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
52&nbsp;<A HREF="../../../../../org/apache/tools/ant/taskdefs/Property.html" title="class in org.apache.tools.ant.taskdefs"><B>PREV CLASS</B></A>&nbsp;
53&nbsp;<A HREF="../../../../../org/apache/tools/ant/taskdefs/Recorder.html" title="class in org.apache.tools.ant.taskdefs"><B>NEXT CLASS</B></A></FONT></TD>
54<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
55 <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
56&nbsp;<A HREF="PumpStreamHandler.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
57&nbsp;<SCRIPT type="text/javascript">
58 <!--
59 if(window==top) {
60 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
61 }
62 //-->
63</SCRIPT>
64<NOSCRIPT>
65 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
66</NOSCRIPT>
67
68</FONT></TD>
69</TR>
70<TR>
71<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
72 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
73<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
74DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
75</TR>
76</TABLE>
77<A NAME="skip-navbar_top"></A>
78<!-- ========= END OF TOP NAVBAR ========= -->
79
80<HR>
81<!-- ======== START OF CLASS DATA ======== -->
82<H2>
83<FONT SIZE="-1">
84org.apache.tools.ant.taskdefs</FONT>
85<BR>
86Class PumpStreamHandler</H2>
87<PRE>
88java.lang.Object
89 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.taskdefs.PumpStreamHandler</B>
90</PRE>
91<DL>
92<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteStreamHandler.html" title="interface in org.apache.tools.ant.taskdefs">ExecuteStreamHandler</A></DD>
93</DL>
94<DL>
95<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../org/apache/tools/ant/taskdefs/LogStreamHandler.html" title="class in org.apache.tools.ant.taskdefs">LogStreamHandler</A></DD>
96</DL>
97<HR>
98<DL>
99<DT>public class <B>PumpStreamHandler</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteStreamHandler.html" title="interface in org.apache.tools.ant.taskdefs">ExecuteStreamHandler</A></DL>
100
101<P>
102Copies standard output and error of subprocesses to standard output and
103 error of the parent process.
104<P>
105
106<P>
107<DL>
108<DT><B>Since:</B></DT>
109 <DD>Ant 1.2</DD>
110</DL>
111<HR>
112
113<P>
114<!-- ======== NESTED CLASS SUMMARY ======== -->
115
116
117<!-- =========== FIELD SUMMARY =========== -->
118
119
120<!-- ======== CONSTRUCTOR SUMMARY ======== -->
121
122<A NAME="constructor_summary"><!-- --></A>
123<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
124<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
125<TD COLSPAN=2><FONT SIZE="+2">
126<B>Constructor Summary</B></FONT></TD>
127</TR>
128<TR BGCOLOR="white" CLASS="TableRowColor">
129<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/PumpStreamHandler.html#PumpStreamHandler()">PumpStreamHandler</A></B>()</CODE>
130
131<BR>
132&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a new <CODE>PumpStreamHandler</CODE>.</TD>
133</TR>
134<TR BGCOLOR="white" CLASS="TableRowColor">
135<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/PumpStreamHandler.html#PumpStreamHandler(java.io.OutputStream)">PumpStreamHandler</A></B>(java.io.OutputStream&nbsp;outAndErr)</CODE>
136
137<BR>
138&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a new <CODE>PumpStreamHandler</CODE>.</TD>
139</TR>
140<TR BGCOLOR="white" CLASS="TableRowColor">
141<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/PumpStreamHandler.html#PumpStreamHandler(java.io.OutputStream, java.io.OutputStream)">PumpStreamHandler</A></B>(java.io.OutputStream&nbsp;out,
142 java.io.OutputStream&nbsp;err)</CODE>
143
144<BR>
145&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a new <CODE>PumpStreamHandler</CODE>.</TD>
146</TR>
147<TR BGCOLOR="white" CLASS="TableRowColor">
148<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/PumpStreamHandler.html#PumpStreamHandler(java.io.OutputStream, java.io.OutputStream, java.io.InputStream)">PumpStreamHandler</A></B>(java.io.OutputStream&nbsp;out,
149 java.io.OutputStream&nbsp;err,
150 java.io.InputStream&nbsp;input)</CODE>
151
152<BR>
153&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a new <CODE>PumpStreamHandler</CODE>.</TD>
154</TR>
155</TABLE>
156&nbsp;
157<!-- ========== METHOD SUMMARY =========== -->
158
159<A NAME="method_summary"><!-- --></A>
160<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
161<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
162<TD COLSPAN=2><FONT SIZE="+2">
163<B>Method Summary</B></FONT></TD>
164</TR>
165<TR BGCOLOR="white" CLASS="TableRowColor">
166<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
167<CODE>protected &nbsp;void</CODE></FONT></TD>
168<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/PumpStreamHandler.html#createProcessErrorPump(java.io.InputStream, java.io.OutputStream)">createProcessErrorPump</A></B>(java.io.InputStream&nbsp;is,
169 java.io.OutputStream&nbsp;os)</CODE>
170
171<BR>
172&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create the pump to handle error output.</TD>
173</TR>
174<TR BGCOLOR="white" CLASS="TableRowColor">
175<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
176<CODE>protected &nbsp;void</CODE></FONT></TD>
177<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/PumpStreamHandler.html#createProcessOutputPump(java.io.InputStream, java.io.OutputStream)">createProcessOutputPump</A></B>(java.io.InputStream&nbsp;is,
178 java.io.OutputStream&nbsp;os)</CODE>
179
180<BR>
181&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create the pump to handle process output.</TD>
182</TR>
183<TR BGCOLOR="white" CLASS="TableRowColor">
184<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
185<CODE>protected &nbsp;java.lang.Thread</CODE></FONT></TD>
186<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/PumpStreamHandler.html#createPump(java.io.InputStream, java.io.OutputStream)">createPump</A></B>(java.io.InputStream&nbsp;is,
187 java.io.OutputStream&nbsp;os)</CODE>
188
189<BR>
190&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a stream pumper to copy the given input stream to the
191 given output stream.</TD>
192</TR>
193<TR BGCOLOR="white" CLASS="TableRowColor">
194<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
195<CODE>protected &nbsp;java.lang.Thread</CODE></FONT></TD>
196<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/PumpStreamHandler.html#createPump(java.io.InputStream, java.io.OutputStream, boolean)">createPump</A></B>(java.io.InputStream&nbsp;is,
197 java.io.OutputStream&nbsp;os,
198 boolean&nbsp;closeWhenExhausted)</CODE>
199
200<BR>
201&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a stream pumper to copy the given input stream to the
202 given output stream.</TD>
203</TR>
204<TR BGCOLOR="white" CLASS="TableRowColor">
205<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
206<CODE>protected &nbsp;java.io.OutputStream</CODE></FONT></TD>
207<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/PumpStreamHandler.html#getErr()">getErr</A></B>()</CODE>
208
209<BR>
210&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the error stream.</TD>
211</TR>
212<TR BGCOLOR="white" CLASS="TableRowColor">
213<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
214<CODE>protected &nbsp;java.io.OutputStream</CODE></FONT></TD>
215<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/PumpStreamHandler.html#getOut()">getOut</A></B>()</CODE>
216
217<BR>
218&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the output stream.</TD>
219</TR>
220<TR BGCOLOR="white" CLASS="TableRowColor">
221<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
222<CODE>&nbsp;void</CODE></FONT></TD>
223<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/PumpStreamHandler.html#setProcessErrorStream(java.io.InputStream)">setProcessErrorStream</A></B>(java.io.InputStream&nbsp;is)</CODE>
224
225<BR>
226&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the <CODE>InputStream</CODE> from which to read the
227 standard error of the process.</TD>
228</TR>
229<TR BGCOLOR="white" CLASS="TableRowColor">
230<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
231<CODE>&nbsp;void</CODE></FONT></TD>
232<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/PumpStreamHandler.html#setProcessInputStream(java.io.OutputStream)">setProcessInputStream</A></B>(java.io.OutputStream&nbsp;os)</CODE>
233
234<BR>
235&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the <CODE>OutputStream</CODE> by means of which
236 input can be sent to the process.</TD>
237</TR>
238<TR BGCOLOR="white" CLASS="TableRowColor">
239<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
240<CODE>&nbsp;void</CODE></FONT></TD>
241<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/PumpStreamHandler.html#setProcessOutputStream(java.io.InputStream)">setProcessOutputStream</A></B>(java.io.InputStream&nbsp;is)</CODE>
242
243<BR>
244&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the <CODE>InputStream</CODE> from which to read the
245 standard output of the process.</TD>
246</TR>
247<TR BGCOLOR="white" CLASS="TableRowColor">
248<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
249<CODE>&nbsp;void</CODE></FONT></TD>
250<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/PumpStreamHandler.html#start()">start</A></B>()</CODE>
251
252<BR>
253&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Start the <CODE>Thread</CODE>s.</TD>
254</TR>
255<TR BGCOLOR="white" CLASS="TableRowColor">
256<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
257<CODE>&nbsp;void</CODE></FONT></TD>
258<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/PumpStreamHandler.html#stop()">stop</A></B>()</CODE>
259
260<BR>
261&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Stop pumping the streams.</TD>
262</TR>
263</TABLE>
264&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
265<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
266<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
267<TD><B>Methods inherited from class java.lang.Object</B></TD>
268</TR>
269<TR BGCOLOR="white" CLASS="TableRowColor">
270<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
271</TR>
272</TABLE>
273&nbsp;
274<P>
275
276<!-- ============ FIELD DETAIL =========== -->
277
278
279<!-- ========= CONSTRUCTOR DETAIL ======== -->
280
281<A NAME="constructor_detail"><!-- --></A>
282<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
283<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
284<TD COLSPAN=1><FONT SIZE="+2">
285<B>Constructor Detail</B></FONT></TD>
286</TR>
287</TABLE>
288
289<A NAME="PumpStreamHandler(java.io.OutputStream, java.io.OutputStream, java.io.InputStream)"><!-- --></A><H3>
290PumpStreamHandler</H3>
291<PRE>
292public <B>PumpStreamHandler</B>(java.io.OutputStream&nbsp;out,
293 java.io.OutputStream&nbsp;err,
294 java.io.InputStream&nbsp;input)</PRE>
295<DL>
296<DD>Construct a new <CODE>PumpStreamHandler</CODE>.
297<P>
298<DT><B>Parameters:</B><DD><CODE>out</CODE> - the output <CODE>OutputStream</CODE>.<DD><CODE>err</CODE> - the error <CODE>OutputStream</CODE>.<DD><CODE>input</CODE> - the input <CODE>InputStream</CODE>.</DL>
299<HR>
300
301<A NAME="PumpStreamHandler(java.io.OutputStream, java.io.OutputStream)"><!-- --></A><H3>
302PumpStreamHandler</H3>
303<PRE>
304public <B>PumpStreamHandler</B>(java.io.OutputStream&nbsp;out,
305 java.io.OutputStream&nbsp;err)</PRE>
306<DL>
307<DD>Construct a new <CODE>PumpStreamHandler</CODE>.
308<P>
309<DT><B>Parameters:</B><DD><CODE>out</CODE> - the output <CODE>OutputStream</CODE>.<DD><CODE>err</CODE> - the error <CODE>OutputStream</CODE>.</DL>
310<HR>
311
312<A NAME="PumpStreamHandler(java.io.OutputStream)"><!-- --></A><H3>
313PumpStreamHandler</H3>
314<PRE>
315public <B>PumpStreamHandler</B>(java.io.OutputStream&nbsp;outAndErr)</PRE>
316<DL>
317<DD>Construct a new <CODE>PumpStreamHandler</CODE>.
318<P>
319<DT><B>Parameters:</B><DD><CODE>outAndErr</CODE> - the output/error <CODE>OutputStream</CODE>.</DL>
320<HR>
321
322<A NAME="PumpStreamHandler()"><!-- --></A><H3>
323PumpStreamHandler</H3>
324<PRE>
325public <B>PumpStreamHandler</B>()</PRE>
326<DL>
327<DD>Construct a new <CODE>PumpStreamHandler</CODE>.
328<P>
329</DL>
330
331<!-- ============ METHOD DETAIL ========== -->
332
333<A NAME="method_detail"><!-- --></A>
334<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
335<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
336<TD COLSPAN=1><FONT SIZE="+2">
337<B>Method Detail</B></FONT></TD>
338</TR>
339</TABLE>
340
341<A NAME="setProcessOutputStream(java.io.InputStream)"><!-- --></A><H3>
342setProcessOutputStream</H3>
343<PRE>
344public void <B>setProcessOutputStream</B>(java.io.InputStream&nbsp;is)</PRE>
345<DL>
346<DD>Set the <CODE>InputStream</CODE> from which to read the
347 standard output of the process.
348<P>
349<DD><DL>
350<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteStreamHandler.html#setProcessOutputStream(java.io.InputStream)">setProcessOutputStream</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteStreamHandler.html" title="interface in org.apache.tools.ant.taskdefs">ExecuteStreamHandler</A></CODE></DL>
351</DD>
352<DD><DL>
353<DT><B>Parameters:</B><DD><CODE>is</CODE> - the <CODE>InputStream</CODE>.</DL>
354</DD>
355</DL>
356<HR>
357
358<A NAME="setProcessErrorStream(java.io.InputStream)"><!-- --></A><H3>
359setProcessErrorStream</H3>
360<PRE>
361public void <B>setProcessErrorStream</B>(java.io.InputStream&nbsp;is)</PRE>
362<DL>
363<DD>Set the <CODE>InputStream</CODE> from which to read the
364 standard error of the process.
365<P>
366<DD><DL>
367<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteStreamHandler.html#setProcessErrorStream(java.io.InputStream)">setProcessErrorStream</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteStreamHandler.html" title="interface in org.apache.tools.ant.taskdefs">ExecuteStreamHandler</A></CODE></DL>
368</DD>
369<DD><DL>
370<DT><B>Parameters:</B><DD><CODE>is</CODE> - the <CODE>InputStream</CODE>.</DL>
371</DD>
372</DL>
373<HR>
374
375<A NAME="setProcessInputStream(java.io.OutputStream)"><!-- --></A><H3>
376setProcessInputStream</H3>
377<PRE>
378public void <B>setProcessInputStream</B>(java.io.OutputStream&nbsp;os)</PRE>
379<DL>
380<DD>Set the <CODE>OutputStream</CODE> by means of which
381 input can be sent to the process.
382<P>
383<DD><DL>
384<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteStreamHandler.html#setProcessInputStream(java.io.OutputStream)">setProcessInputStream</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteStreamHandler.html" title="interface in org.apache.tools.ant.taskdefs">ExecuteStreamHandler</A></CODE></DL>
385</DD>
386<DD><DL>
387<DT><B>Parameters:</B><DD><CODE>os</CODE> - the <CODE>OutputStream</CODE>.</DL>
388</DD>
389</DL>
390<HR>
391
392<A NAME="start()"><!-- --></A><H3>
393start</H3>
394<PRE>
395public void <B>start</B>()</PRE>
396<DL>
397<DD>Start the <CODE>Thread</CODE>s.
398<P>
399<DD><DL>
400<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteStreamHandler.html#start()">start</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteStreamHandler.html" title="interface in org.apache.tools.ant.taskdefs">ExecuteStreamHandler</A></CODE></DL>
401</DD>
402<DD><DL>
403</DL>
404</DD>
405</DL>
406<HR>
407
408<A NAME="stop()"><!-- --></A><H3>
409stop</H3>
410<PRE>
411public void <B>stop</B>()</PRE>
412<DL>
413<DD>Stop pumping the streams.
414<P>
415<DD><DL>
416<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteStreamHandler.html#stop()">stop</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteStreamHandler.html" title="interface in org.apache.tools.ant.taskdefs">ExecuteStreamHandler</A></CODE></DL>
417</DD>
418<DD><DL>
419</DL>
420</DD>
421</DL>
422<HR>
423
424<A NAME="getErr()"><!-- --></A><H3>
425getErr</H3>
426<PRE>
427protected java.io.OutputStream <B>getErr</B>()</PRE>
428<DL>
429<DD>Get the error stream.
430<P>
431<DD><DL>
432</DL>
433</DD>
434<DD><DL>
435
436<DT><B>Returns:</B><DD><CODE>OutputStream</CODE>.</DL>
437</DD>
438</DL>
439<HR>
440
441<A NAME="getOut()"><!-- --></A><H3>
442getOut</H3>
443<PRE>
444protected java.io.OutputStream <B>getOut</B>()</PRE>
445<DL>
446<DD>Get the output stream.
447<P>
448<DD><DL>
449</DL>
450</DD>
451<DD><DL>
452
453<DT><B>Returns:</B><DD><CODE>OutputStream</CODE>.</DL>
454</DD>
455</DL>
456<HR>
457
458<A NAME="createProcessOutputPump(java.io.InputStream, java.io.OutputStream)"><!-- --></A><H3>
459createProcessOutputPump</H3>
460<PRE>
461protected void <B>createProcessOutputPump</B>(java.io.InputStream&nbsp;is,
462 java.io.OutputStream&nbsp;os)</PRE>
463<DL>
464<DD>Create the pump to handle process output.
465<P>
466<DD><DL>
467</DL>
468</DD>
469<DD><DL>
470<DT><B>Parameters:</B><DD><CODE>is</CODE> - the <CODE>InputStream</CODE>.<DD><CODE>os</CODE> - the <CODE>OutputStream</CODE>.</DL>
471</DD>
472</DL>
473<HR>
474
475<A NAME="createProcessErrorPump(java.io.InputStream, java.io.OutputStream)"><!-- --></A><H3>
476createProcessErrorPump</H3>
477<PRE>
478protected void <B>createProcessErrorPump</B>(java.io.InputStream&nbsp;is,
479 java.io.OutputStream&nbsp;os)</PRE>
480<DL>
481<DD>Create the pump to handle error output.
482<P>
483<DD><DL>
484</DL>
485</DD>
486<DD><DL>
487<DT><B>Parameters:</B><DD><CODE>is</CODE> - the <CODE>InputStream</CODE>.<DD><CODE>os</CODE> - the <CODE>OutputStream</CODE>.</DL>
488</DD>
489</DL>
490<HR>
491
492<A NAME="createPump(java.io.InputStream, java.io.OutputStream)"><!-- --></A><H3>
493createPump</H3>
494<PRE>
495protected java.lang.Thread <B>createPump</B>(java.io.InputStream&nbsp;is,
496 java.io.OutputStream&nbsp;os)</PRE>
497<DL>
498<DD>Creates a stream pumper to copy the given input stream to the
499 given output stream.
500<P>
501<DD><DL>
502</DL>
503</DD>
504<DD><DL>
505</DL>
506</DD>
507</DL>
508<HR>
509
510<A NAME="createPump(java.io.InputStream, java.io.OutputStream, boolean)"><!-- --></A><H3>
511createPump</H3>
512<PRE>
513protected java.lang.Thread <B>createPump</B>(java.io.InputStream&nbsp;is,
514 java.io.OutputStream&nbsp;os,
515 boolean&nbsp;closeWhenExhausted)</PRE>
516<DL>
517<DD>Creates a stream pumper to copy the given input stream to the
518 given output stream.
519<P>
520<DD><DL>
521</DL>
522</DD>
523<DD><DL>
524</DL>
525</DD>
526</DL>
527<!-- ========= END OF CLASS DATA ========= -->
528<HR>
529
530
531<!-- ======= START OF BOTTOM NAVBAR ====== -->
532<A NAME="navbar_bottom"><!-- --></A>
533<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
534<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
535<TR>
536<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
537<A NAME="navbar_bottom_firstrow"><!-- --></A>
538<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
539 <TR ALIGN="center" VALIGN="top">
540 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
541 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
542 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
543 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
544 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
545 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
546 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
547 </TR>
548</TABLE>
549</TD>
550<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
551</EM>
552</TD>
553</TR>
554
555<TR>
556<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
557&nbsp;<A HREF="../../../../../org/apache/tools/ant/taskdefs/Property.html" title="class in org.apache.tools.ant.taskdefs"><B>PREV CLASS</B></A>&nbsp;
558&nbsp;<A HREF="../../../../../org/apache/tools/ant/taskdefs/Recorder.html" title="class in org.apache.tools.ant.taskdefs"><B>NEXT CLASS</B></A></FONT></TD>
559<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
560 <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
561&nbsp;<A HREF="PumpStreamHandler.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
562&nbsp;<SCRIPT type="text/javascript">
563 <!--
564 if(window==top) {
565 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
566 }
567 //-->
568</SCRIPT>
569<NOSCRIPT>
570 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
571</NOSCRIPT>
572
573</FONT></TD>
574</TR>
575<TR>
576<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
577 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
578<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
579DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
580</TR>
581</TABLE>
582<A NAME="skip-navbar_bottom"></A>
583<!-- ======== END OF BOTTOM NAVBAR ======= -->
584
585<HR>
586Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
587</BODY>
588</HTML>
Note: See TracBrowser for help on using the repository browser.