source: release-kits/lirk3/resources/gs3-release-maker/ant/docs/manual/api/org/apache/tools/ant/taskdefs/Redirector.html@ 14982

Last change on this file since 14982 was 14982, checked in by oranfry, 16 years ago

initial import of LiRK3

File size: 36.1 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>
7Redirector (Apache Ant API)
8</TITLE>
9
10<META NAME="keywords" CONTENT="org.apache.tools.ant.taskdefs.Redirector 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="Redirector (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/RecorderEntry.html" title="class in org.apache.tools.ant.taskdefs"><B>PREV CLASS</B></A>&nbsp;
53&nbsp;<A HREF="../../../../../org/apache/tools/ant/taskdefs/Rename.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="Redirector.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 Redirector</H2>
87<PRE>
88java.lang.Object
89 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.taskdefs.Redirector</B>
90</PRE>
91<HR>
92<DL>
93<DT>public class <B>Redirector</B><DT>extends java.lang.Object</DL>
94
95<P>
96The Redirector class manages the setup and connection of
97 input and output redirection for an Ant project component.
98<P>
99
100<P>
101<DL>
102<DT><B>Since:</B></DT>
103 <DD>Ant 1.6</DD>
104</DL>
105<HR>
106
107<P>
108<!-- ======== NESTED CLASS SUMMARY ======== -->
109
110
111<!-- =========== FIELD SUMMARY =========== -->
112
113
114<!-- ======== CONSTRUCTOR SUMMARY ======== -->
115
116<A NAME="constructor_summary"><!-- --></A>
117<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
118<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
119<TD COLSPAN=2><FONT SIZE="+2">
120<B>Constructor Summary</B></FONT></TD>
121</TR>
122<TR BGCOLOR="white" CLASS="TableRowColor">
123<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Redirector.html#Redirector(org.apache.tools.ant.ProjectComponent)">Redirector</A></B>(<A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">ProjectComponent</A>&nbsp;managingTask)</CODE>
124
125<BR>
126&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a redirector instance for the given task</TD>
127</TR>
128<TR BGCOLOR="white" CLASS="TableRowColor">
129<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Redirector.html#Redirector(org.apache.tools.ant.Task)">Redirector</A></B>(<A HREF="../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A>&nbsp;managingTask)</CODE>
130
131<BR>
132&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a redirector instance for the given task</TD>
133</TR>
134</TABLE>
135&nbsp;
136<!-- ========== METHOD SUMMARY =========== -->
137
138<A NAME="method_summary"><!-- --></A>
139<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
140<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
141<TD COLSPAN=2><FONT SIZE="+2">
142<B>Method Summary</B></FONT></TD>
143</TR>
144<TR BGCOLOR="white" CLASS="TableRowColor">
145<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
146<CODE>&nbsp;void</CODE></FONT></TD>
147<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Redirector.html#complete()">complete</A></B>()</CODE>
148
149<BR>
150&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Complete redirection.</TD>
151</TR>
152<TR BGCOLOR="white" CLASS="TableRowColor">
153<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
154<CODE>&nbsp;<A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteStreamHandler.html" title="interface in org.apache.tools.ant.taskdefs">ExecuteStreamHandler</A></CODE></FONT></TD>
155<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Redirector.html#createHandler()">createHandler</A></B>()</CODE>
156
157<BR>
158&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create the StreamHandler to use with our Execute instance.</TD>
159</TR>
160<TR BGCOLOR="white" CLASS="TableRowColor">
161<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
162<CODE>&nbsp;void</CODE></FONT></TD>
163<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Redirector.html#createStreams()">createStreams</A></B>()</CODE>
164
165<BR>
166&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create the input, error and output streams based on the
167 configuration options.</TD>
168</TR>
169<TR BGCOLOR="white" CLASS="TableRowColor">
170<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
171<CODE>&nbsp;java.io.OutputStream</CODE></FONT></TD>
172<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Redirector.html#getErrorStream()">getErrorStream</A></B>()</CODE>
173
174<BR>
175&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the error stream for the redirector</TD>
176</TR>
177<TR BGCOLOR="white" CLASS="TableRowColor">
178<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
179<CODE>&nbsp;java.io.InputStream</CODE></FONT></TD>
180<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Redirector.html#getInputStream()">getInputStream</A></B>()</CODE>
181
182<BR>
183&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the input stream for the redirector</TD>
184</TR>
185<TR BGCOLOR="white" CLASS="TableRowColor">
186<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
187<CODE>&nbsp;java.io.OutputStream</CODE></FONT></TD>
188<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Redirector.html#getOutputStream()">getOutputStream</A></B>()</CODE>
189
190<BR>
191&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the output stream for the redirector</TD>
192</TR>
193<TR BGCOLOR="white" CLASS="TableRowColor">
194<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
195<CODE>protected &nbsp;void</CODE></FONT></TD>
196<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Redirector.html#handleErrorFlush(java.lang.String)">handleErrorFlush</A></B>(java.lang.String&nbsp;output)</CODE>
197
198<BR>
199&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Handle a flush operation on the error stream</TD>
200</TR>
201<TR BGCOLOR="white" CLASS="TableRowColor">
202<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
203<CODE>protected &nbsp;void</CODE></FONT></TD>
204<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Redirector.html#handleErrorOutput(java.lang.String)">handleErrorOutput</A></B>(java.lang.String&nbsp;output)</CODE>
205
206<BR>
207&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Process error output</TD>
208</TR>
209<TR BGCOLOR="white" CLASS="TableRowColor">
210<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
211<CODE>protected &nbsp;void</CODE></FONT></TD>
212<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Redirector.html#handleFlush(java.lang.String)">handleFlush</A></B>(java.lang.String&nbsp;output)</CODE>
213
214<BR>
215&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Process data due to a flush operation.</TD>
216</TR>
217<TR BGCOLOR="white" CLASS="TableRowColor">
218<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
219<CODE>protected &nbsp;int</CODE></FONT></TD>
220<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Redirector.html#handleInput(byte[], int, int)">handleInput</A></B>(byte[]&nbsp;buffer,
221 int&nbsp;offset,
222 int&nbsp;length)</CODE>
223
224<BR>
225&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Handle an input request</TD>
226</TR>
227<TR BGCOLOR="white" CLASS="TableRowColor">
228<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
229<CODE>protected &nbsp;void</CODE></FONT></TD>
230<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Redirector.html#handleOutput(java.lang.String)">handleOutput</A></B>(java.lang.String&nbsp;output)</CODE>
231
232<BR>
233&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Pass output sent to System.out to specified output.</TD>
234</TR>
235<TR BGCOLOR="white" CLASS="TableRowColor">
236<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
237<CODE>&nbsp;void</CODE></FONT></TD>
238<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Redirector.html#setAlwaysLog(boolean)">setAlwaysLog</A></B>(boolean&nbsp;alwaysLog)</CODE>
239
240<BR>
241&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If true, (error and non-error) output will be "teed", redirected
242 as specified while being sent to Ant's logging mechanism as if no
243 redirection had taken place.</TD>
244</TR>
245<TR BGCOLOR="white" CLASS="TableRowColor">
246<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
247<CODE>&nbsp;void</CODE></FONT></TD>
248<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Redirector.html#setAppend(boolean)">setAppend</A></B>(boolean&nbsp;append)</CODE>
249
250<BR>
251&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Whether output should be appended to or overwrite an existing file.</TD>
252</TR>
253<TR BGCOLOR="white" CLASS="TableRowColor">
254<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
255<CODE>&nbsp;void</CODE></FONT></TD>
256<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Redirector.html#setAppendProperties(boolean)">setAppendProperties</A></B>(boolean&nbsp;appendProperties)</CODE>
257
258<BR>
259&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This <CODE>Redirector</CODE>'s subordinate
260 <CODE>PropertyOutputStream</CODE>s will not set their respective
261 properties <CODE>while (appendProperties && append)</CODE>.</TD>
262</TR>
263<TR BGCOLOR="white" CLASS="TableRowColor">
264<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
265<CODE>&nbsp;void</CODE></FONT></TD>
266<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Redirector.html#setCreateEmptyFiles(boolean)">setCreateEmptyFiles</A></B>(boolean&nbsp;createEmptyFiles)</CODE>
267
268<BR>
269&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Whether output and error files should be created even when empty.</TD>
270</TR>
271<TR BGCOLOR="white" CLASS="TableRowColor">
272<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
273<CODE>&nbsp;void</CODE></FONT></TD>
274<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Redirector.html#setError(java.io.File)">setError</A></B>(java.io.File&nbsp;error)</CODE>
275
276<BR>
277&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the file to which standard error is to be redirected.</TD>
278</TR>
279<TR BGCOLOR="white" CLASS="TableRowColor">
280<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
281<CODE>&nbsp;void</CODE></FONT></TD>
282<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Redirector.html#setError(java.io.File[])">setError</A></B>(java.io.File[]&nbsp;error)</CODE>
283
284<BR>
285&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the files to which standard error is to be redirected.</TD>
286</TR>
287<TR BGCOLOR="white" CLASS="TableRowColor">
288<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
289<CODE>&nbsp;void</CODE></FONT></TD>
290<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Redirector.html#setErrorEncoding(java.lang.String)">setErrorEncoding</A></B>(java.lang.String&nbsp;errorEncoding)</CODE>
291
292<BR>
293&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the error encoding.</TD>
294</TR>
295<TR BGCOLOR="white" CLASS="TableRowColor">
296<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
297<CODE>&nbsp;void</CODE></FONT></TD>
298<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Redirector.html#setErrorFilterChains(java.util.Vector)">setErrorFilterChains</A></B>(java.util.Vector&nbsp;errorFilterChains)</CODE>
299
300<BR>
301&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the error <CODE>FilterChain</CODE>s.</TD>
302</TR>
303<TR BGCOLOR="white" CLASS="TableRowColor">
304<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
305<CODE>&nbsp;void</CODE></FONT></TD>
306<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Redirector.html#setErrorProperty(java.lang.String)">setErrorProperty</A></B>(java.lang.String&nbsp;errorProperty)</CODE>
307
308<BR>
309&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Property name whose value should be set to the error of
310 the process.</TD>
311</TR>
312<TR BGCOLOR="white" CLASS="TableRowColor">
313<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
314<CODE>&nbsp;void</CODE></FONT></TD>
315<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Redirector.html#setInput(java.io.File)">setInput</A></B>(java.io.File&nbsp;input)</CODE>
316
317<BR>
318&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the input to use for the task</TD>
319</TR>
320<TR BGCOLOR="white" CLASS="TableRowColor">
321<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
322<CODE>&nbsp;void</CODE></FONT></TD>
323<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Redirector.html#setInput(java.io.File[])">setInput</A></B>(java.io.File[]&nbsp;input)</CODE>
324
325<BR>
326&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the input to use for the task</TD>
327</TR>
328<TR BGCOLOR="white" CLASS="TableRowColor">
329<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
330<CODE>&nbsp;void</CODE></FONT></TD>
331<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Redirector.html#setInputEncoding(java.lang.String)">setInputEncoding</A></B>(java.lang.String&nbsp;inputEncoding)</CODE>
332
333<BR>
334&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the input encoding.</TD>
335</TR>
336<TR BGCOLOR="white" CLASS="TableRowColor">
337<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
338<CODE>&nbsp;void</CODE></FONT></TD>
339<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Redirector.html#setInputFilterChains(java.util.Vector)">setInputFilterChains</A></B>(java.util.Vector&nbsp;inputFilterChains)</CODE>
340
341<BR>
342&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the input <CODE>FilterChain</CODE>s.</TD>
343</TR>
344<TR BGCOLOR="white" CLASS="TableRowColor">
345<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
346<CODE>&nbsp;void</CODE></FONT></TD>
347<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Redirector.html#setInputString(java.lang.String)">setInputString</A></B>(java.lang.String&nbsp;inputString)</CODE>
348
349<BR>
350&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the string to use as input</TD>
351</TR>
352<TR BGCOLOR="white" CLASS="TableRowColor">
353<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
354<CODE>&nbsp;void</CODE></FONT></TD>
355<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Redirector.html#setLogError(boolean)">setLogError</A></B>(boolean&nbsp;logError)</CODE>
356
357<BR>
358&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Controls whether error output of exec is logged.</TD>
359</TR>
360<TR BGCOLOR="white" CLASS="TableRowColor">
361<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
362<CODE>&nbsp;void</CODE></FONT></TD>
363<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Redirector.html#setOutput(java.io.File)">setOutput</A></B>(java.io.File&nbsp;out)</CODE>
364
365<BR>
366&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;File the output of the process is redirected to.</TD>
367</TR>
368<TR BGCOLOR="white" CLASS="TableRowColor">
369<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
370<CODE>&nbsp;void</CODE></FONT></TD>
371<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Redirector.html#setOutput(java.io.File[])">setOutput</A></B>(java.io.File[]&nbsp;out)</CODE>
372
373<BR>
374&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Files the output of the process is redirected to.</TD>
375</TR>
376<TR BGCOLOR="white" CLASS="TableRowColor">
377<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
378<CODE>&nbsp;void</CODE></FONT></TD>
379<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Redirector.html#setOutputEncoding(java.lang.String)">setOutputEncoding</A></B>(java.lang.String&nbsp;outputEncoding)</CODE>
380
381<BR>
382&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the output encoding.</TD>
383</TR>
384<TR BGCOLOR="white" CLASS="TableRowColor">
385<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
386<CODE>&nbsp;void</CODE></FONT></TD>
387<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Redirector.html#setOutputFilterChains(java.util.Vector)">setOutputFilterChains</A></B>(java.util.Vector&nbsp;outputFilterChains)</CODE>
388
389<BR>
390&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the output <CODE>FilterChain</CODE>s.</TD>
391</TR>
392<TR BGCOLOR="white" CLASS="TableRowColor">
393<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
394<CODE>&nbsp;void</CODE></FONT></TD>
395<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Redirector.html#setOutputProperty(java.lang.String)">setOutputProperty</A></B>(java.lang.String&nbsp;outputProperty)</CODE>
396
397<BR>
398&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Property name whose value should be set to the output of
399 the process.</TD>
400</TR>
401<TR BGCOLOR="white" CLASS="TableRowColor">
402<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
403<CODE>&nbsp;void</CODE></FONT></TD>
404<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Redirector.html#setProperties()">setProperties</A></B>()</CODE>
405
406<BR>
407&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Notify the <CODE>Redirector</CODE> that it is now okay
408 to set any output and/or error properties.</TD>
409</TR>
410</TABLE>
411&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
412<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
413<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
414<TD><B>Methods inherited from class java.lang.Object</B></TD>
415</TR>
416<TR BGCOLOR="white" CLASS="TableRowColor">
417<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
418</TR>
419</TABLE>
420&nbsp;
421<P>
422
423<!-- ============ FIELD DETAIL =========== -->
424
425
426<!-- ========= CONSTRUCTOR DETAIL ======== -->
427
428<A NAME="constructor_detail"><!-- --></A>
429<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
430<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
431<TD COLSPAN=1><FONT SIZE="+2">
432<B>Constructor Detail</B></FONT></TD>
433</TR>
434</TABLE>
435
436<A NAME="Redirector(org.apache.tools.ant.Task)"><!-- --></A><H3>
437Redirector</H3>
438<PRE>
439public <B>Redirector</B>(<A HREF="../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A>&nbsp;managingTask)</PRE>
440<DL>
441<DD>Create a redirector instance for the given task
442<P>
443<DT><B>Parameters:</B><DD><CODE>managingTask</CODE> - the task for which the redirector is to work</DL>
444<HR>
445
446<A NAME="Redirector(org.apache.tools.ant.ProjectComponent)"><!-- --></A><H3>
447Redirector</H3>
448<PRE>
449public <B>Redirector</B>(<A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">ProjectComponent</A>&nbsp;managingTask)</PRE>
450<DL>
451<DD>Create a redirector instance for the given task
452<P>
453<DT><B>Parameters:</B><DD><CODE>managingTask</CODE> - the project component for which the
454 redirector is to work<DT><B>Since:</B></DT>
455 <DD>Ant 1.6.3</DD>
456</DL>
457
458<!-- ============ METHOD DETAIL ========== -->
459
460<A NAME="method_detail"><!-- --></A>
461<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
462<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
463<TD COLSPAN=1><FONT SIZE="+2">
464<B>Method Detail</B></FONT></TD>
465</TR>
466</TABLE>
467
468<A NAME="setInput(java.io.File)"><!-- --></A><H3>
469setInput</H3>
470<PRE>
471public void <B>setInput</B>(java.io.File&nbsp;input)</PRE>
472<DL>
473<DD>Set the input to use for the task
474<P>
475<DD><DL>
476<DT><B>Parameters:</B><DD><CODE>input</CODE> - the file from which input is read.</DL>
477</DD>
478</DL>
479<HR>
480
481<A NAME="setInput(java.io.File[])"><!-- --></A><H3>
482setInput</H3>
483<PRE>
484public void <B>setInput</B>(java.io.File[]&nbsp;input)</PRE>
485<DL>
486<DD>Set the input to use for the task
487<P>
488<DD><DL>
489<DT><B>Parameters:</B><DD><CODE>input</CODE> - the files from which input is read.</DL>
490</DD>
491</DL>
492<HR>
493
494<A NAME="setInputString(java.lang.String)"><!-- --></A><H3>
495setInputString</H3>
496<PRE>
497public void <B>setInputString</B>(java.lang.String&nbsp;inputString)</PRE>
498<DL>
499<DD>Set the string to use as input
500<P>
501<DD><DL>
502<DT><B>Parameters:</B><DD><CODE>inputString</CODE> - the string which is used as the input source</DL>
503</DD>
504</DL>
505<HR>
506
507<A NAME="setOutput(java.io.File)"><!-- --></A><H3>
508setOutput</H3>
509<PRE>
510public void <B>setOutput</B>(java.io.File&nbsp;out)</PRE>
511<DL>
512<DD>File the output of the process is redirected to. If error is not
513 redirected, it too will appear in the output
514<P>
515<DD><DL>
516<DT><B>Parameters:</B><DD><CODE>out</CODE> - the file to which output stream is written</DL>
517</DD>
518</DL>
519<HR>
520
521<A NAME="setOutput(java.io.File[])"><!-- --></A><H3>
522setOutput</H3>
523<PRE>
524public void <B>setOutput</B>(java.io.File[]&nbsp;out)</PRE>
525<DL>
526<DD>Files the output of the process is redirected to. If error is not
527 redirected, it too will appear in the output
528<P>
529<DD><DL>
530<DT><B>Parameters:</B><DD><CODE>out</CODE> - the files to which output stream is written</DL>
531</DD>
532</DL>
533<HR>
534
535<A NAME="setOutputEncoding(java.lang.String)"><!-- --></A><H3>
536setOutputEncoding</H3>
537<PRE>
538public void <B>setOutputEncoding</B>(java.lang.String&nbsp;outputEncoding)</PRE>
539<DL>
540<DD>Set the output encoding.
541<P>
542<DD><DL>
543<DT><B>Parameters:</B><DD><CODE>outputEncoding</CODE> - <CODE>String</CODE>.</DL>
544</DD>
545</DL>
546<HR>
547
548<A NAME="setErrorEncoding(java.lang.String)"><!-- --></A><H3>
549setErrorEncoding</H3>
550<PRE>
551public void <B>setErrorEncoding</B>(java.lang.String&nbsp;errorEncoding)</PRE>
552<DL>
553<DD>Set the error encoding.
554<P>
555<DD><DL>
556<DT><B>Parameters:</B><DD><CODE>errorEncoding</CODE> - <CODE>String</CODE>.</DL>
557</DD>
558</DL>
559<HR>
560
561<A NAME="setInputEncoding(java.lang.String)"><!-- --></A><H3>
562setInputEncoding</H3>
563<PRE>
564public void <B>setInputEncoding</B>(java.lang.String&nbsp;inputEncoding)</PRE>
565<DL>
566<DD>Set the input encoding.
567<P>
568<DD><DL>
569<DT><B>Parameters:</B><DD><CODE>inputEncoding</CODE> - <CODE>String</CODE>.</DL>
570</DD>
571</DL>
572<HR>
573
574<A NAME="setLogError(boolean)"><!-- --></A><H3>
575setLogError</H3>
576<PRE>
577public void <B>setLogError</B>(boolean&nbsp;logError)</PRE>
578<DL>
579<DD>Controls whether error output of exec is logged. This is only useful
580 when output is being redirected and error output is desired in the
581 Ant log
582<P>
583<DD><DL>
584<DT><B>Parameters:</B><DD><CODE>logError</CODE> - if true the standard error is sent to the Ant log system
585 and not sent to output.</DL>
586</DD>
587</DL>
588<HR>
589
590<A NAME="setAppendProperties(boolean)"><!-- --></A><H3>
591setAppendProperties</H3>
592<PRE>
593public void <B>setAppendProperties</B>(boolean&nbsp;appendProperties)</PRE>
594<DL>
595<DD>This <CODE>Redirector</CODE>'s subordinate
596 <CODE>PropertyOutputStream</CODE>s will not set their respective
597 properties <CODE>while (appendProperties && append)</CODE>.
598<P>
599<DD><DL>
600<DT><B>Parameters:</B><DD><CODE>appendProperties</CODE> - whether to append properties.</DL>
601</DD>
602</DL>
603<HR>
604
605<A NAME="setError(java.io.File)"><!-- --></A><H3>
606setError</H3>
607<PRE>
608public void <B>setError</B>(java.io.File&nbsp;error)</PRE>
609<DL>
610<DD>Set the file to which standard error is to be redirected.
611<P>
612<DD><DL>
613<DT><B>Parameters:</B><DD><CODE>error</CODE> - the file to which error is to be written</DL>
614</DD>
615</DL>
616<HR>
617
618<A NAME="setError(java.io.File[])"><!-- --></A><H3>
619setError</H3>
620<PRE>
621public void <B>setError</B>(java.io.File[]&nbsp;error)</PRE>
622<DL>
623<DD>Set the files to which standard error is to be redirected.
624<P>
625<DD><DL>
626<DT><B>Parameters:</B><DD><CODE>error</CODE> - the file to which error is to be written</DL>
627</DD>
628</DL>
629<HR>
630
631<A NAME="setOutputProperty(java.lang.String)"><!-- --></A><H3>
632setOutputProperty</H3>
633<PRE>
634public void <B>setOutputProperty</B>(java.lang.String&nbsp;outputProperty)</PRE>
635<DL>
636<DD>Property name whose value should be set to the output of
637 the process.
638<P>
639<DD><DL>
640<DT><B>Parameters:</B><DD><CODE>outputProperty</CODE> - the name of the property to be set with the
641 task's output.</DL>
642</DD>
643</DL>
644<HR>
645
646<A NAME="setAppend(boolean)"><!-- --></A><H3>
647setAppend</H3>
648<PRE>
649public void <B>setAppend</B>(boolean&nbsp;append)</PRE>
650<DL>
651<DD>Whether output should be appended to or overwrite an existing file.
652 Defaults to false.
653<P>
654<DD><DL>
655<DT><B>Parameters:</B><DD><CODE>append</CODE> - if true output and error streams are appended to their
656 respective files, if specified.</DL>
657</DD>
658</DL>
659<HR>
660
661<A NAME="setAlwaysLog(boolean)"><!-- --></A><H3>
662setAlwaysLog</H3>
663<PRE>
664public void <B>setAlwaysLog</B>(boolean&nbsp;alwaysLog)</PRE>
665<DL>
666<DD>If true, (error and non-error) output will be "teed", redirected
667 as specified while being sent to Ant's logging mechanism as if no
668 redirection had taken place. Defaults to false.
669<P>
670<DD><DL>
671<DT><B>Parameters:</B><DD><CODE>alwaysLog</CODE> - <code>boolean</code><DT><B>Since:</B></DT>
672 <DD>Ant 1.6.3</DD>
673</DL>
674</DD>
675</DL>
676<HR>
677
678<A NAME="setCreateEmptyFiles(boolean)"><!-- --></A><H3>
679setCreateEmptyFiles</H3>
680<PRE>
681public void <B>setCreateEmptyFiles</B>(boolean&nbsp;createEmptyFiles)</PRE>
682<DL>
683<DD>Whether output and error files should be created even when empty.
684 Defaults to true.
685<P>
686<DD><DL>
687<DT><B>Parameters:</B><DD><CODE>createEmptyFiles</CODE> - <CODE>boolean</CODE>.</DL>
688</DD>
689</DL>
690<HR>
691
692<A NAME="setErrorProperty(java.lang.String)"><!-- --></A><H3>
693setErrorProperty</H3>
694<PRE>
695public void <B>setErrorProperty</B>(java.lang.String&nbsp;errorProperty)</PRE>
696<DL>
697<DD>Property name whose value should be set to the error of
698 the process.
699<P>
700<DD><DL>
701<DT><B>Parameters:</B><DD><CODE>errorProperty</CODE> - the name of the property to be set
702 with the error output.</DL>
703</DD>
704</DL>
705<HR>
706
707<A NAME="setInputFilterChains(java.util.Vector)"><!-- --></A><H3>
708setInputFilterChains</H3>
709<PRE>
710public void <B>setInputFilterChains</B>(java.util.Vector&nbsp;inputFilterChains)</PRE>
711<DL>
712<DD>Set the input <CODE>FilterChain</CODE>s.
713<P>
714<DD><DL>
715<DT><B>Parameters:</B><DD><CODE>inputFilterChains</CODE> - <CODE>Vector</CODE> containing <CODE>FilterChain</CODE>.</DL>
716</DD>
717</DL>
718<HR>
719
720<A NAME="setOutputFilterChains(java.util.Vector)"><!-- --></A><H3>
721setOutputFilterChains</H3>
722<PRE>
723public void <B>setOutputFilterChains</B>(java.util.Vector&nbsp;outputFilterChains)</PRE>
724<DL>
725<DD>Set the output <CODE>FilterChain</CODE>s.
726<P>
727<DD><DL>
728<DT><B>Parameters:</B><DD><CODE>outputFilterChains</CODE> - <CODE>Vector</CODE> containing <CODE>FilterChain</CODE>.</DL>
729</DD>
730</DL>
731<HR>
732
733<A NAME="setErrorFilterChains(java.util.Vector)"><!-- --></A><H3>
734setErrorFilterChains</H3>
735<PRE>
736public void <B>setErrorFilterChains</B>(java.util.Vector&nbsp;errorFilterChains)</PRE>
737<DL>
738<DD>Set the error <CODE>FilterChain</CODE>s.
739<P>
740<DD><DL>
741<DT><B>Parameters:</B><DD><CODE>errorFilterChains</CODE> - <CODE>Vector</CODE> containing <CODE>FilterChain</CODE>.</DL>
742</DD>
743</DL>
744<HR>
745
746<A NAME="createStreams()"><!-- --></A><H3>
747createStreams</H3>
748<PRE>
749public void <B>createStreams</B>()</PRE>
750<DL>
751<DD>Create the input, error and output streams based on the
752 configuration options.
753<P>
754<DD><DL>
755</DL>
756</DD>
757</DL>
758<HR>
759
760<A NAME="createHandler()"><!-- --></A><H3>
761createHandler</H3>
762<PRE>
763public <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteStreamHandler.html" title="interface in org.apache.tools.ant.taskdefs">ExecuteStreamHandler</A> <B>createHandler</B>()
764 throws <A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
765<DL>
766<DD>Create the StreamHandler to use with our Execute instance.
767<P>
768<DD><DL>
769
770<DT><B>Returns:</B><DD>the execute stream handler to manage the input, output and
771 error streams.
772<DT><B>Throws:</B>
773<DD><CODE><A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if the execute stream handler cannot be created.</DL>
774</DD>
775</DL>
776<HR>
777
778<A NAME="handleOutput(java.lang.String)"><!-- --></A><H3>
779handleOutput</H3>
780<PRE>
781protected void <B>handleOutput</B>(java.lang.String&nbsp;output)</PRE>
782<DL>
783<DD>Pass output sent to System.out to specified output.
784<P>
785<DD><DL>
786<DT><B>Parameters:</B><DD><CODE>output</CODE> - the data to be output</DL>
787</DD>
788</DL>
789<HR>
790
791<A NAME="handleInput(byte[], int, int)"><!-- --></A><H3>
792handleInput</H3>
793<PRE>
794protected int <B>handleInput</B>(byte[]&nbsp;buffer,
795 int&nbsp;offset,
796 int&nbsp;length)
797 throws java.io.IOException</PRE>
798<DL>
799<DD>Handle an input request
800<P>
801<DD><DL>
802<DT><B>Parameters:</B><DD><CODE>buffer</CODE> - the buffer into which data is to be read.<DD><CODE>offset</CODE> - the offset into the buffer at which data is stored.<DD><CODE>length</CODE> - the amount of data to read
803<DT><B>Returns:</B><DD>the number of bytes read
804<DT><B>Throws:</B>
805<DD><CODE>java.io.IOException</CODE> - if the data cannot be read</DL>
806</DD>
807</DL>
808<HR>
809
810<A NAME="handleFlush(java.lang.String)"><!-- --></A><H3>
811handleFlush</H3>
812<PRE>
813protected void <B>handleFlush</B>(java.lang.String&nbsp;output)</PRE>
814<DL>
815<DD>Process data due to a flush operation.
816<P>
817<DD><DL>
818<DT><B>Parameters:</B><DD><CODE>output</CODE> - the data being flushed.</DL>
819</DD>
820</DL>
821<HR>
822
823<A NAME="handleErrorOutput(java.lang.String)"><!-- --></A><H3>
824handleErrorOutput</H3>
825<PRE>
826protected void <B>handleErrorOutput</B>(java.lang.String&nbsp;output)</PRE>
827<DL>
828<DD>Process error output
829<P>
830<DD><DL>
831<DT><B>Parameters:</B><DD><CODE>output</CODE> - the error output data.</DL>
832</DD>
833</DL>
834<HR>
835
836<A NAME="handleErrorFlush(java.lang.String)"><!-- --></A><H3>
837handleErrorFlush</H3>
838<PRE>
839protected void <B>handleErrorFlush</B>(java.lang.String&nbsp;output)</PRE>
840<DL>
841<DD>Handle a flush operation on the error stream
842<P>
843<DD><DL>
844<DT><B>Parameters:</B><DD><CODE>output</CODE> - the error information being flushed.</DL>
845</DD>
846</DL>
847<HR>
848
849<A NAME="getOutputStream()"><!-- --></A><H3>
850getOutputStream</H3>
851<PRE>
852public java.io.OutputStream <B>getOutputStream</B>()</PRE>
853<DL>
854<DD>Get the output stream for the redirector
855<P>
856<DD><DL>
857
858<DT><B>Returns:</B><DD>the redirector's output stream or null if no output
859 has been configured</DL>
860</DD>
861</DL>
862<HR>
863
864<A NAME="getErrorStream()"><!-- --></A><H3>
865getErrorStream</H3>
866<PRE>
867public java.io.OutputStream <B>getErrorStream</B>()</PRE>
868<DL>
869<DD>Get the error stream for the redirector
870<P>
871<DD><DL>
872
873<DT><B>Returns:</B><DD>the redirector's error stream or null if no output
874 has been configured</DL>
875</DD>
876</DL>
877<HR>
878
879<A NAME="getInputStream()"><!-- --></A><H3>
880getInputStream</H3>
881<PRE>
882public java.io.InputStream <B>getInputStream</B>()</PRE>
883<DL>
884<DD>Get the input stream for the redirector
885<P>
886<DD><DL>
887
888<DT><B>Returns:</B><DD>the redirector's input stream or null if no output
889 has been configured</DL>
890</DD>
891</DL>
892<HR>
893
894<A NAME="complete()"><!-- --></A><H3>
895complete</H3>
896<PRE>
897public void <B>complete</B>()
898 throws java.io.IOException</PRE>
899<DL>
900<DD>Complete redirection.
901
902 This operation will close any streams and create any specified
903 property values.
904<P>
905<DD><DL>
906
907<DT><B>Throws:</B>
908<DD><CODE>java.io.IOException</CODE> - if the output properties cannot be read from their
909 output streams.</DL>
910</DD>
911</DL>
912<HR>
913
914<A NAME="setProperties()"><!-- --></A><H3>
915setProperties</H3>
916<PRE>
917public void <B>setProperties</B>()</PRE>
918<DL>
919<DD>Notify the <CODE>Redirector</CODE> that it is now okay
920 to set any output and/or error properties.
921<P>
922<DD><DL>
923</DL>
924</DD>
925</DL>
926<!-- ========= END OF CLASS DATA ========= -->
927<HR>
928
929
930<!-- ======= START OF BOTTOM NAVBAR ====== -->
931<A NAME="navbar_bottom"><!-- --></A>
932<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
933<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
934<TR>
935<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
936<A NAME="navbar_bottom_firstrow"><!-- --></A>
937<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
938 <TR ALIGN="center" VALIGN="top">
939 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
940 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
941 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
942 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
943 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
944 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
945 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
946 </TR>
947</TABLE>
948</TD>
949<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
950</EM>
951</TD>
952</TR>
953
954<TR>
955<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
956&nbsp;<A HREF="../../../../../org/apache/tools/ant/taskdefs/RecorderEntry.html" title="class in org.apache.tools.ant.taskdefs"><B>PREV CLASS</B></A>&nbsp;
957&nbsp;<A HREF="../../../../../org/apache/tools/ant/taskdefs/Rename.html" title="class in org.apache.tools.ant.taskdefs"><B>NEXT CLASS</B></A></FONT></TD>
958<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
959 <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
960&nbsp;<A HREF="Redirector.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
961&nbsp;<SCRIPT type="text/javascript">
962 <!--
963 if(window==top) {
964 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
965 }
966 //-->
967</SCRIPT>
968<NOSCRIPT>
969 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
970</NOSCRIPT>
971
972</FONT></TD>
973</TR>
974<TR>
975<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
976 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
977<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
978DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
979</TR>
980</TABLE>
981<A NAME="skip-navbar_bottom"></A>
982<!-- ======== END OF BOTTOM NAVBAR ======= -->
983
984<HR>
985Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
986</BODY>
987</HTML>
Note: See TracBrowser for help on using the repository browser.