Subversion Repositories bacoAlunos

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1777 jmachado 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.5.0_09) on Thu Nov 02 11:46:40 EST 2006 -->
6
<TITLE>
7
SendFileCommand (Ant Contrib)
8
</TITLE>
9
 
10
<META NAME="keywords" CONTENT="net.sf.antcontrib.antserver.commands.SendFileCommand class">
11
 
12
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
13
 
14
<SCRIPT type="text/javascript">
15
function windowTitle()
16
{
17
    parent.document.title="SendFileCommand (Ant Contrib)";
18
}
19
</SCRIPT>
20
<NOSCRIPT>
21
</NOSCRIPT>
22
 
23
</HEAD>
24
 
25
<BODY BGCOLOR="white" onload="windowTitle();">
26
 
27
 
28
<!-- ========= START OF TOP NAVBAR ======= -->
29
<A NAME="navbar_top"><!-- --></A>
30
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
31
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
32
<TR>
33
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
34
<A NAME="navbar_top_firstrow"><!-- --></A>
35
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
36
  <TR ALIGN="center" VALIGN="top">
37
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
38
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
39
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
40
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
41
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
42
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
43
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
44
  </TR>
45
</TABLE>
46
</TD>
47
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
48
</EM>
49
</TD>
50
</TR>
51
 
52
<TR>
53
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
54
&nbsp;<A HREF="../../../../../net/sf/antcontrib/antserver/commands/RunTargetCommand.html" title="class in net.sf.antcontrib.antserver.commands"><B>PREV CLASS</B></A>&nbsp;
55
&nbsp;<A HREF="../../../../../net/sf/antcontrib/antserver/commands/ShutdownCommand.html" title="class in net.sf.antcontrib.antserver.commands"><B>NEXT CLASS</B></A></FONT></TD>
56
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
57
  <A HREF="../../../../../index.html?net/sf/antcontrib/antserver/commands/SendFileCommand.html" target="_top"><B>FRAMES</B></A>  &nbsp;
58
&nbsp;<A HREF="SendFileCommand.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
59
&nbsp;<SCRIPT type="text/javascript">
60
  <!--
61
  if(window==top) {
62
    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
63
  }
64
  //-->
65
</SCRIPT>
66
<NOSCRIPT>
67
  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
68
</NOSCRIPT>
69
 
70
 
71
</FONT></TD>
72
</TR>
73
<TR>
74
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
75
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
76
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
77
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
78
</TR>
79
</TABLE>
80
<A NAME="skip-navbar_top"></A>
81
<!-- ========= END OF TOP NAVBAR ========= -->
82
 
83
<HR>
84
<!-- ======== START OF CLASS DATA ======== -->
85
<H2>
86
<FONT SIZE="-1">
87
net.sf.antcontrib.antserver.commands</FONT>
88
<BR>
89
Class SendFileCommand</H2>
90
<PRE>
91
java.lang.Object
92
  <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../net/sf/antcontrib/antserver/commands/AbstractCommand.html" title="class in net.sf.antcontrib.antserver.commands">net.sf.antcontrib.antserver.commands.AbstractCommand</A>
93
      <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>net.sf.antcontrib.antserver.commands.SendFileCommand</B>
94
</PRE>
95
<DL>
96
<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable, <A HREF="../../../../../net/sf/antcontrib/antserver/Command.html" title="interface in net.sf.antcontrib.antserver">Command</A></DD>
97
</DL>
98
<HR>
99
<DL>
100
<DT><PRE>public class <B>SendFileCommand</B><DT>extends <A HREF="../../../../../net/sf/antcontrib/antserver/commands/AbstractCommand.html" title="class in net.sf.antcontrib.antserver.commands">AbstractCommand</A><DT>implements <A HREF="../../../../../net/sf/antcontrib/antserver/Command.html" title="interface in net.sf.antcontrib.antserver">Command</A></DL>
101
</PRE>
102
 
103
<P>
104
Place class description here.
105
<P>
106
 
107
<P>
108
<DL>
109
<DT><B>Since:</B></DT>
110
  <DD></DD>
111
<DT><B>Author:</B></DT>
112
  <DD><a href='mailto:mattinger@yahoo.com'>Matthew Inger</a>, <additional author></DD>
113
<DT><B>See Also:</B><DD><A HREF="../../../../../serialized-form.html#net.sf.antcontrib.antserver.commands.SendFileCommand">Serialized Form</A></DL>
114
<HR>
115
 
116
<P>
117
 
118
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
119
 
120
<A NAME="constructor_summary"><!-- --></A>
121
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
122
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
123
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
124
<B>Constructor Summary</B></FONT></TH>
125
</TR>
126
<TR BGCOLOR="white" CLASS="TableRowColor">
127
<TD><CODE><B><A HREF="../../../../../net/sf/antcontrib/antserver/commands/SendFileCommand.html#SendFileCommand()">SendFileCommand</A></B>()</CODE>
128
 
129
<BR>
130
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
131
</TR>
132
</TABLE>
133
&nbsp;
134
<!-- ========== METHOD SUMMARY =========== -->
135
 
136
<A NAME="method_summary"><!-- --></A>
137
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
138
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
139
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
140
<B>Method Summary</B></FONT></TH>
141
</TR>
142
<TR BGCOLOR="white" CLASS="TableRowColor">
143
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
144
<CODE>&nbsp;boolean</CODE></FONT></TD>
145
<TD><CODE><B><A HREF="../../../../../net/sf/antcontrib/antserver/commands/SendFileCommand.html#execute(org.apache.tools.ant.Project, long, java.io.InputStream)">execute</A></B>(org.apache.tools.ant.Project&nbsp;project,
146
        long&nbsp;contentLength,
147
        java.io.InputStream&nbsp;content)</CODE>
148
 
149
<BR>
150
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Execute the command.</TD>
151
</TR>
152
<TR BGCOLOR="white" CLASS="TableRowColor">
153
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
154
<CODE>&nbsp;long</CODE></FONT></TD>
155
<TD><CODE><B><A HREF="../../../../../net/sf/antcontrib/antserver/commands/SendFileCommand.html#getContentLength()">getContentLength</A></B>()</CODE>
156
 
157
<BR>
158
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Is there additional content being sent from the local
159
 machine to the remote server</TD>
160
</TR>
161
<TR BGCOLOR="white" CLASS="TableRowColor">
162
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
163
<CODE>&nbsp;java.io.InputStream</CODE></FONT></TD>
164
<TD><CODE><B><A HREF="../../../../../net/sf/antcontrib/antserver/commands/SendFileCommand.html#getContentStream()">getContentStream</A></B>()</CODE>
165
 
166
<BR>
167
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the content's input stream.</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.File</CODE></FONT></TD>
172
<TD><CODE><B><A HREF="../../../../../net/sf/antcontrib/antserver/commands/SendFileCommand.html#getFile()">getFile</A></B>()</CODE>
173
 
174
<BR>
175
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
176
</TR>
177
<TR BGCOLOR="white" CLASS="TableRowColor">
178
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
179
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
180
<TD><CODE><B><A HREF="../../../../../net/sf/antcontrib/antserver/commands/SendFileCommand.html#getTodir()">getTodir</A></B>()</CODE>
181
 
182
<BR>
183
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
184
</TR>
185
<TR BGCOLOR="white" CLASS="TableRowColor">
186
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
187
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
188
<TD><CODE><B><A HREF="../../../../../net/sf/antcontrib/antserver/commands/SendFileCommand.html#getTofile()">getTofile</A></B>()</CODE>
189
 
190
<BR>
191
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
192
</TR>
193
<TR BGCOLOR="white" CLASS="TableRowColor">
194
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
195
<CODE>&nbsp;void</CODE></FONT></TD>
196
<TD><CODE><B><A HREF="../../../../../net/sf/antcontrib/antserver/commands/SendFileCommand.html#setFile(java.io.File)">setFile</A></B>(java.io.File&nbsp;file)</CODE>
197
 
198
<BR>
199
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
200
</TR>
201
<TR BGCOLOR="white" CLASS="TableRowColor">
202
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
203
<CODE>&nbsp;void</CODE></FONT></TD>
204
<TD><CODE><B><A HREF="../../../../../net/sf/antcontrib/antserver/commands/SendFileCommand.html#setTodir(java.lang.String)">setTodir</A></B>(java.lang.String&nbsp;todir)</CODE>
205
 
206
<BR>
207
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
208
</TR>
209
<TR BGCOLOR="white" CLASS="TableRowColor">
210
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
211
<CODE>&nbsp;void</CODE></FONT></TD>
212
<TD><CODE><B><A HREF="../../../../../net/sf/antcontrib/antserver/commands/SendFileCommand.html#setTofile(java.lang.String)">setTofile</A></B>(java.lang.String&nbsp;tofile)</CODE>
213
 
214
<BR>
215
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
216
</TR>
217
<TR BGCOLOR="white" CLASS="TableRowColor">
218
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
219
<CODE>&nbsp;void</CODE></FONT></TD>
220
<TD><CODE><B><A HREF="../../../../../net/sf/antcontrib/antserver/commands/SendFileCommand.html#validate(org.apache.tools.ant.Project)">validate</A></B>(org.apache.tools.ant.Project&nbsp;project)</CODE>
221
 
222
<BR>
223
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This should throw a build exception if the parameters
224
 are invalid.</TD>
225
</TR>
226
</TABLE>
227
&nbsp;<A NAME="methods_inherited_from_class_net.sf.antcontrib.antserver.commands.AbstractCommand"><!-- --></A>
228
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
229
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
230
<TH ALIGN="left"><B>Methods inherited from class net.sf.antcontrib.antserver.commands.<A HREF="../../../../../net/sf/antcontrib/antserver/commands/AbstractCommand.html" title="class in net.sf.antcontrib.antserver.commands">AbstractCommand</A></B></TH>
231
</TR>
232
<TR BGCOLOR="white" CLASS="TableRowColor">
233
<TD><CODE><A HREF="../../../../../net/sf/antcontrib/antserver/commands/AbstractCommand.html#getReponseContentStream()">getReponseContentStream</A>, <A HREF="../../../../../net/sf/antcontrib/antserver/commands/AbstractCommand.html#getResponseContentLength()">getResponseContentLength</A>, <A HREF="../../../../../net/sf/antcontrib/antserver/commands/AbstractCommand.html#respond(org.apache.tools.ant.Project, long, java.io.InputStream)">respond</A></CODE></TD>
234
</TR>
235
</TABLE>
236
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
237
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
238
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
239
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
240
</TR>
241
<TR BGCOLOR="white" CLASS="TableRowColor">
242
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
243
</TR>
244
</TABLE>
245
&nbsp;<A NAME="methods_inherited_from_class_net.sf.antcontrib.antserver.Command"><!-- --></A>
246
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
247
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
248
<TH ALIGN="left"><B>Methods inherited from interface net.sf.antcontrib.antserver.<A HREF="../../../../../net/sf/antcontrib/antserver/Command.html" title="interface in net.sf.antcontrib.antserver">Command</A></B></TH>
249
</TR>
250
<TR BGCOLOR="white" CLASS="TableRowColor">
251
<TD><CODE><A HREF="../../../../../net/sf/antcontrib/antserver/Command.html#getReponseContentStream()">getReponseContentStream</A>, <A HREF="../../../../../net/sf/antcontrib/antserver/Command.html#getResponseContentLength()">getResponseContentLength</A>, <A HREF="../../../../../net/sf/antcontrib/antserver/Command.html#respond(org.apache.tools.ant.Project, long, java.io.InputStream)">respond</A></CODE></TD>
252
</TR>
253
</TABLE>
254
&nbsp;
255
<P>
256
 
257
<!-- ========= CONSTRUCTOR DETAIL ======== -->
258
 
259
<A NAME="constructor_detail"><!-- --></A>
260
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
261
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
262
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
263
<B>Constructor Detail</B></FONT></TH>
264
</TR>
265
</TABLE>
266
 
267
<A NAME="SendFileCommand()"><!-- --></A><H3>
268
SendFileCommand</H3>
269
<PRE>
270
public <B>SendFileCommand</B>()</PRE>
271
<DL>
272
</DL>
273
 
274
<!-- ============ METHOD DETAIL ========== -->
275
 
276
<A NAME="method_detail"><!-- --></A>
277
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
278
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
279
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
280
<B>Method Detail</B></FONT></TH>
281
</TR>
282
</TABLE>
283
 
284
<A NAME="getFile()"><!-- --></A><H3>
285
getFile</H3>
286
<PRE>
287
public java.io.File <B>getFile</B>()</PRE>
288
<DL>
289
<DD><DL>
290
</DL>
291
</DD>
292
<DD><DL>
293
</DL>
294
</DD>
295
</DL>
296
<HR>
297
 
298
<A NAME="getContentLength()"><!-- --></A><H3>
299
getContentLength</H3>
300
<PRE>
301
public long <B>getContentLength</B>()</PRE>
302
<DL>
303
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../net/sf/antcontrib/antserver/Command.html#getContentLength()">Command</A></CODE></B></DD>
304
<DD>Is there additional content being sent from the local
305
 machine to the remote server
306
<P>
307
<DD><DL>
308
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/antcontrib/antserver/Command.html#getContentLength()">getContentLength</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/antcontrib/antserver/Command.html" title="interface in net.sf.antcontrib.antserver">Command</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../net/sf/antcontrib/antserver/commands/AbstractCommand.html#getContentLength()">getContentLength</A></CODE> in class <CODE><A HREF="../../../../../net/sf/antcontrib/antserver/commands/AbstractCommand.html" title="class in net.sf.antcontrib.antserver.commands">AbstractCommand</A></CODE></DL>
309
</DD>
310
<DD><DL>
311
</DL>
312
</DD>
313
</DL>
314
<HR>
315
 
316
<A NAME="getContentStream()"><!-- --></A><H3>
317
getContentStream</H3>
318
<PRE>
319
public java.io.InputStream <B>getContentStream</B>()
320
                                     throws java.io.IOException</PRE>
321
<DL>
322
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../net/sf/antcontrib/antserver/Command.html#getContentStream()">Command</A></CODE></B></DD>
323
<DD>Gets the content's input stream.  Should be called only on the
324
 client side for sending the content over the connection
325
<P>
326
<DD><DL>
327
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/antcontrib/antserver/Command.html#getContentStream()">getContentStream</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/antcontrib/antserver/Command.html" title="interface in net.sf.antcontrib.antserver">Command</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../net/sf/antcontrib/antserver/commands/AbstractCommand.html#getContentStream()">getContentStream</A></CODE> in class <CODE><A HREF="../../../../../net/sf/antcontrib/antserver/commands/AbstractCommand.html" title="class in net.sf.antcontrib.antserver.commands">AbstractCommand</A></CODE></DL>
328
</DD>
329
<DD><DL>
330
 
331
<DT><B>Returns:</B><DD>the content's input stream.
332
<DT><B>Throws:</B>
333
<DD><CODE>java.io.IOException</CODE></DL>
334
</DD>
335
</DL>
336
<HR>
337
 
338
<A NAME="setFile(java.io.File)"><!-- --></A><H3>
339
setFile</H3>
340
<PRE>
341
public void <B>setFile</B>(java.io.File&nbsp;file)</PRE>
342
<DL>
343
<DD><DL>
344
</DL>
345
</DD>
346
<DD><DL>
347
</DL>
348
</DD>
349
</DL>
350
<HR>
351
 
352
<A NAME="getTofile()"><!-- --></A><H3>
353
getTofile</H3>
354
<PRE>
355
public java.lang.String <B>getTofile</B>()</PRE>
356
<DL>
357
<DD><DL>
358
</DL>
359
</DD>
360
<DD><DL>
361
</DL>
362
</DD>
363
</DL>
364
<HR>
365
 
366
<A NAME="setTofile(java.lang.String)"><!-- --></A><H3>
367
setTofile</H3>
368
<PRE>
369
public void <B>setTofile</B>(java.lang.String&nbsp;tofile)</PRE>
370
<DL>
371
<DD><DL>
372
</DL>
373
</DD>
374
<DD><DL>
375
</DL>
376
</DD>
377
</DL>
378
<HR>
379
 
380
<A NAME="getTodir()"><!-- --></A><H3>
381
getTodir</H3>
382
<PRE>
383
public java.lang.String <B>getTodir</B>()</PRE>
384
<DL>
385
<DD><DL>
386
</DL>
387
</DD>
388
<DD><DL>
389
</DL>
390
</DD>
391
</DL>
392
<HR>
393
 
394
<A NAME="setTodir(java.lang.String)"><!-- --></A><H3>
395
setTodir</H3>
396
<PRE>
397
public void <B>setTodir</B>(java.lang.String&nbsp;todir)</PRE>
398
<DL>
399
<DD><DL>
400
</DL>
401
</DD>
402
<DD><DL>
403
</DL>
404
</DD>
405
</DL>
406
<HR>
407
 
408
<A NAME="validate(org.apache.tools.ant.Project)"><!-- --></A><H3>
409
validate</H3>
410
<PRE>
411
public void <B>validate</B>(org.apache.tools.ant.Project&nbsp;project)</PRE>
412
<DL>
413
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../net/sf/antcontrib/antserver/Command.html#validate(org.apache.tools.ant.Project)">Command</A></CODE></B></DD>
414
<DD>This should throw a build exception if the parameters
415
 are invalid.
416
<P>
417
<DD><DL>
418
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/antcontrib/antserver/Command.html#validate(org.apache.tools.ant.Project)">validate</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/antcontrib/antserver/Command.html" title="interface in net.sf.antcontrib.antserver">Command</A></CODE></DL>
419
</DD>
420
<DD><DL>
421
</DL>
422
</DD>
423
</DL>
424
<HR>
425
 
426
<A NAME="execute(org.apache.tools.ant.Project, long, java.io.InputStream)"><!-- --></A><H3>
427
execute</H3>
428
<PRE>
429
public boolean <B>execute</B>(org.apache.tools.ant.Project&nbsp;project,
430
                       long&nbsp;contentLength,
431
                       java.io.InputStream&nbsp;content)
432
                throws java.lang.Throwable</PRE>
433
<DL>
434
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../net/sf/antcontrib/antserver/Command.html#execute(org.apache.tools.ant.Project, long, java.io.InputStream)">Command</A></CODE></B></DD>
435
<DD>Execute the command.
436
<P>
437
<DD><DL>
438
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/antcontrib/antserver/Command.html#execute(org.apache.tools.ant.Project, long, java.io.InputStream)">execute</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/antcontrib/antserver/Command.html" title="interface in net.sf.antcontrib.antserver">Command</A></CODE></DL>
439
</DD>
440
<DD><DL>
441
<DT><B>Parameters:</B><DD><CODE>project</CODE> - The project which is being executed
442
<DT><B>Returns:</B><DD>If true, the connection will be closed
443
<DT><B>Throws:</B>
444
<DD><CODE>java.lang.Throwable</CODE></DL>
445
</DD>
446
</DL>
447
<!-- ========= END OF CLASS DATA ========= -->
448
<HR>
449
 
450
 
451
<!-- ======= START OF BOTTOM NAVBAR ====== -->
452
<A NAME="navbar_bottom"><!-- --></A>
453
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
454
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
455
<TR>
456
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
457
<A NAME="navbar_bottom_firstrow"><!-- --></A>
458
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
459
  <TR ALIGN="center" VALIGN="top">
460
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
461
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
462
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
463
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
464
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
465
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
466
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
467
  </TR>
468
</TABLE>
469
</TD>
470
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
471
</EM>
472
</TD>
473
</TR>
474
 
475
<TR>
476
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
477
&nbsp;<A HREF="../../../../../net/sf/antcontrib/antserver/commands/RunTargetCommand.html" title="class in net.sf.antcontrib.antserver.commands"><B>PREV CLASS</B></A>&nbsp;
478
&nbsp;<A HREF="../../../../../net/sf/antcontrib/antserver/commands/ShutdownCommand.html" title="class in net.sf.antcontrib.antserver.commands"><B>NEXT CLASS</B></A></FONT></TD>
479
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
480
  <A HREF="../../../../../index.html?net/sf/antcontrib/antserver/commands/SendFileCommand.html" target="_top"><B>FRAMES</B></A>  &nbsp;
481
&nbsp;<A HREF="SendFileCommand.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
482
&nbsp;<SCRIPT type="text/javascript">
483
  <!--
484
  if(window==top) {
485
    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
486
  }
487
  //-->
488
</SCRIPT>
489
<NOSCRIPT>
490
  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
491
</NOSCRIPT>
492
 
493
 
494
</FONT></TD>
495
</TR>
496
<TR>
497
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
498
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
499
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
500
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
501
</TR>
502
</TABLE>
503
<A NAME="skip-navbar_bottom"></A>
504
<!-- ======== END OF BOTTOM NAVBAR ======= -->
505
 
506
<HR>
507
 
508
</BODY>
509
</HTML>