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

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

initial import of LiRK3

File size: 23.8 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:30 NZST 2007 -->
6<TITLE>
7AntSoundPlayer (Apache Ant API)
8</TITLE>
9
10<META NAME="keywords" CONTENT="org.apache.tools.ant.taskdefs.optional.sound.AntSoundPlayer 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="AntSoundPlayer (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;PREV CLASS&nbsp;
53&nbsp;<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/sound/SoundTask.html" title="class in org.apache.tools.ant.taskdefs.optional.sound"><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="AntSoundPlayer.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.optional.sound</FONT>
85<BR>
86Class AntSoundPlayer</H2>
87<PRE>
88java.lang.Object
89 <IMG SRC="../../../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.taskdefs.optional.sound.AntSoundPlayer</B>
90</PRE>
91<DL>
92<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../../../org/apache/tools/ant/BuildListener.html" title="interface in org.apache.tools.ant">BuildListener</A>, java.util.EventListener, javax.sound.sampled.LineListener</DD>
93</DL>
94<HR>
95<DL>
96<DT>public class <B>AntSoundPlayer</B><DT>extends java.lang.Object<DT>implements javax.sound.sampled.LineListener, <A HREF="../../../../../../../org/apache/tools/ant/BuildListener.html" title="interface in org.apache.tools.ant">BuildListener</A></DL>
97
98<P>
99This class is designed to be used by any AntTask that requires audio output.
100
101 It implements the BuildListener interface to listen for BuildEvents and could
102 be easily extended to provide audio output upon any specific build events occuring.
103
104 I have only tested this with .WAV and .AIFF sound file formats. Both seem to work fine.
105<P>
106
107<P>
108<HR>
109
110<P>
111<!-- ======== NESTED CLASS SUMMARY ======== -->
112
113
114<!-- =========== FIELD SUMMARY =========== -->
115
116
117<!-- ======== CONSTRUCTOR SUMMARY ======== -->
118
119<A NAME="constructor_summary"><!-- --></A>
120<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
121<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
122<TD COLSPAN=2><FONT SIZE="+2">
123<B>Constructor Summary</B></FONT></TD>
124</TR>
125<TR BGCOLOR="white" CLASS="TableRowColor">
126<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/sound/AntSoundPlayer.html#AntSoundPlayer()">AntSoundPlayer</A></B>()</CODE>
127
128<BR>
129&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
130</TR>
131</TABLE>
132&nbsp;
133<!-- ========== METHOD SUMMARY =========== -->
134
135<A NAME="method_summary"><!-- --></A>
136<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
137<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
138<TD COLSPAN=2><FONT SIZE="+2">
139<B>Method Summary</B></FONT></TD>
140</TR>
141<TR BGCOLOR="white" CLASS="TableRowColor">
142<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
143<CODE>&nbsp;void</CODE></FONT></TD>
144<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/sound/AntSoundPlayer.html#addBuildFailedSound(java.io.File, int, java.lang.Long)">addBuildFailedSound</A></B>(java.io.File&nbsp;fileFail,
145 int&nbsp;loopsFail,
146 java.lang.Long&nbsp;durationFail)</CODE>
147
148<BR>
149&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
150</TR>
151<TR BGCOLOR="white" CLASS="TableRowColor">
152<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
153<CODE>&nbsp;void</CODE></FONT></TD>
154<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/sound/AntSoundPlayer.html#addBuildSuccessfulSound(java.io.File, int, java.lang.Long)">addBuildSuccessfulSound</A></B>(java.io.File&nbsp;file,
155 int&nbsp;loops,
156 java.lang.Long&nbsp;duration)</CODE>
157
158<BR>
159&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
160</TR>
161<TR BGCOLOR="white" CLASS="TableRowColor">
162<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
163<CODE>&nbsp;void</CODE></FONT></TD>
164<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/sound/AntSoundPlayer.html#buildFinished(org.apache.tools.ant.BuildEvent)">buildFinished</A></B>(<A HREF="../../../../../../../org/apache/tools/ant/BuildEvent.html" title="class in org.apache.tools.ant">BuildEvent</A>&nbsp;event)</CODE>
165
166<BR>
167&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fired after the last target has finished.</TD>
168</TR>
169<TR BGCOLOR="white" CLASS="TableRowColor">
170<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
171<CODE>&nbsp;void</CODE></FONT></TD>
172<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/sound/AntSoundPlayer.html#buildStarted(org.apache.tools.ant.BuildEvent)">buildStarted</A></B>(<A HREF="../../../../../../../org/apache/tools/ant/BuildEvent.html" title="class in org.apache.tools.ant">BuildEvent</A>&nbsp;event)</CODE>
173
174<BR>
175&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fired before any targets are started.</TD>
176</TR>
177<TR BGCOLOR="white" CLASS="TableRowColor">
178<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
179<CODE>&nbsp;void</CODE></FONT></TD>
180<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/sound/AntSoundPlayer.html#messageLogged(org.apache.tools.ant.BuildEvent)">messageLogged</A></B>(<A HREF="../../../../../../../org/apache/tools/ant/BuildEvent.html" title="class in org.apache.tools.ant">BuildEvent</A>&nbsp;event)</CODE>
181
182<BR>
183&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fired whenever a message is logged.</TD>
184</TR>
185<TR BGCOLOR="white" CLASS="TableRowColor">
186<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
187<CODE>&nbsp;void</CODE></FONT></TD>
188<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/sound/AntSoundPlayer.html#targetFinished(org.apache.tools.ant.BuildEvent)">targetFinished</A></B>(<A HREF="../../../../../../../org/apache/tools/ant/BuildEvent.html" title="class in org.apache.tools.ant">BuildEvent</A>&nbsp;event)</CODE>
189
190<BR>
191&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fired when a target has finished.</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="../../../../../../../org/apache/tools/ant/taskdefs/optional/sound/AntSoundPlayer.html#targetStarted(org.apache.tools.ant.BuildEvent)">targetStarted</A></B>(<A HREF="../../../../../../../org/apache/tools/ant/BuildEvent.html" title="class in org.apache.tools.ant">BuildEvent</A>&nbsp;event)</CODE>
197
198<BR>
199&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fired when a target is started.</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="../../../../../../../org/apache/tools/ant/taskdefs/optional/sound/AntSoundPlayer.html#taskFinished(org.apache.tools.ant.BuildEvent)">taskFinished</A></B>(<A HREF="../../../../../../../org/apache/tools/ant/BuildEvent.html" title="class in org.apache.tools.ant">BuildEvent</A>&nbsp;event)</CODE>
205
206<BR>
207&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fired when a task has finished.</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="../../../../../../../org/apache/tools/ant/taskdefs/optional/sound/AntSoundPlayer.html#taskStarted(org.apache.tools.ant.BuildEvent)">taskStarted</A></B>(<A HREF="../../../../../../../org/apache/tools/ant/BuildEvent.html" title="class in org.apache.tools.ant">BuildEvent</A>&nbsp;event)</CODE>
213
214<BR>
215&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fired when a task is started.</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="../../../../../../../org/apache/tools/ant/taskdefs/optional/sound/AntSoundPlayer.html#update(javax.sound.sampled.LineEvent)">update</A></B>(javax.sound.sampled.LineEvent&nbsp;event)</CODE>
221
222<BR>
223&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is implemented to listen for any line events and closes the
224 clip if required.</TD>
225</TR>
226</TABLE>
227&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
228<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
229<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
230<TD><B>Methods inherited from class java.lang.Object</B></TD>
231</TR>
232<TR BGCOLOR="white" CLASS="TableRowColor">
233<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
234</TR>
235</TABLE>
236&nbsp;
237<P>
238
239<!-- ============ FIELD DETAIL =========== -->
240
241
242<!-- ========= CONSTRUCTOR DETAIL ======== -->
243
244<A NAME="constructor_detail"><!-- --></A>
245<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
246<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
247<TD COLSPAN=1><FONT SIZE="+2">
248<B>Constructor Detail</B></FONT></TD>
249</TR>
250</TABLE>
251
252<A NAME="AntSoundPlayer()"><!-- --></A><H3>
253AntSoundPlayer</H3>
254<PRE>
255public <B>AntSoundPlayer</B>()</PRE>
256<DL>
257</DL>
258
259<!-- ============ METHOD DETAIL ========== -->
260
261<A NAME="method_detail"><!-- --></A>
262<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
263<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
264<TD COLSPAN=1><FONT SIZE="+2">
265<B>Method Detail</B></FONT></TD>
266</TR>
267</TABLE>
268
269<A NAME="addBuildSuccessfulSound(java.io.File, int, java.lang.Long)"><!-- --></A><H3>
270addBuildSuccessfulSound</H3>
271<PRE>
272public void <B>addBuildSuccessfulSound</B>(java.io.File&nbsp;file,
273 int&nbsp;loops,
274 java.lang.Long&nbsp;duration)</PRE>
275<DL>
276<DD><DL>
277</DL>
278</DD>
279<DD><DL>
280<DT><B>Parameters:</B><DD><CODE>file</CODE> - the location of the audio file to be played when the
281 build is successful<DD><CODE>loops</CODE> - the number of times the file should be played when
282 the build is successful<DD><CODE>duration</CODE> - the number of milliseconds the file should be
283 played when the build is successful</DL>
284</DD>
285</DL>
286<HR>
287
288<A NAME="addBuildFailedSound(java.io.File, int, java.lang.Long)"><!-- --></A><H3>
289addBuildFailedSound</H3>
290<PRE>
291public void <B>addBuildFailedSound</B>(java.io.File&nbsp;fileFail,
292 int&nbsp;loopsFail,
293 java.lang.Long&nbsp;durationFail)</PRE>
294<DL>
295<DD><DL>
296</DL>
297</DD>
298<DD><DL>
299<DT><B>Parameters:</B><DD><CODE>fileFail</CODE> - the location of the audio file to be played
300 when the build fails<DD><CODE>loopsFail</CODE> - the number of times the file should be played
301 when the build is fails<DD><CODE>durationFail</CODE> - the number of milliseconds the file should be
302 played when the build fails</DL>
303</DD>
304</DL>
305<HR>
306
307<A NAME="update(javax.sound.sampled.LineEvent)"><!-- --></A><H3>
308update</H3>
309<PRE>
310public void <B>update</B>(javax.sound.sampled.LineEvent&nbsp;event)</PRE>
311<DL>
312<DD>This is implemented to listen for any line events and closes the
313 clip if required.
314<P>
315<DD><DL>
316<DT><B>Specified by:</B><DD><CODE>update</CODE> in interface <CODE>javax.sound.sampled.LineListener</CODE></DL>
317</DD>
318<DD><DL>
319</DL>
320</DD>
321</DL>
322<HR>
323
324<A NAME="buildStarted(org.apache.tools.ant.BuildEvent)"><!-- --></A><H3>
325buildStarted</H3>
326<PRE>
327public void <B>buildStarted</B>(<A HREF="../../../../../../../org/apache/tools/ant/BuildEvent.html" title="class in org.apache.tools.ant">BuildEvent</A>&nbsp;event)</PRE>
328<DL>
329<DD>Fired before any targets are started.
330<P>
331<DD><DL>
332<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../org/apache/tools/ant/BuildListener.html#buildStarted(org.apache.tools.ant.BuildEvent)">buildStarted</A></CODE> in interface <CODE><A HREF="../../../../../../../org/apache/tools/ant/BuildListener.html" title="interface in org.apache.tools.ant">BuildListener</A></CODE></DL>
333</DD>
334<DD><DL>
335<DT><B>Parameters:</B><DD><CODE>event</CODE> - An event with any relevant extra information.
336 Must not be <code>null</code>.</DL>
337</DD>
338</DL>
339<HR>
340
341<A NAME="buildFinished(org.apache.tools.ant.BuildEvent)"><!-- --></A><H3>
342buildFinished</H3>
343<PRE>
344public void <B>buildFinished</B>(<A HREF="../../../../../../../org/apache/tools/ant/BuildEvent.html" title="class in org.apache.tools.ant">BuildEvent</A>&nbsp;event)</PRE>
345<DL>
346<DD>Fired after the last target has finished. This event
347 will still be thrown if an error occurred during the build.
348<P>
349<DD><DL>
350<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../org/apache/tools/ant/BuildListener.html#buildFinished(org.apache.tools.ant.BuildEvent)">buildFinished</A></CODE> in interface <CODE><A HREF="../../../../../../../org/apache/tools/ant/BuildListener.html" title="interface in org.apache.tools.ant">BuildListener</A></CODE></DL>
351</DD>
352<DD><DL>
353<DT><B>Parameters:</B><DD><CODE>event</CODE> - An event with any relevant extra information.
354 Must not be <code>null</code>.<DT><B>See Also:</B><DD><A HREF="../../../../../../../org/apache/tools/ant/BuildEvent.html#getException()"><CODE>BuildEvent.getException()</CODE></A></DL>
355</DD>
356</DL>
357<HR>
358
359<A NAME="targetStarted(org.apache.tools.ant.BuildEvent)"><!-- --></A><H3>
360targetStarted</H3>
361<PRE>
362public void <B>targetStarted</B>(<A HREF="../../../../../../../org/apache/tools/ant/BuildEvent.html" title="class in org.apache.tools.ant">BuildEvent</A>&nbsp;event)</PRE>
363<DL>
364<DD>Fired when a target is started.
365<P>
366<DD><DL>
367<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../org/apache/tools/ant/BuildListener.html#targetStarted(org.apache.tools.ant.BuildEvent)">targetStarted</A></CODE> in interface <CODE><A HREF="../../../../../../../org/apache/tools/ant/BuildListener.html" title="interface in org.apache.tools.ant">BuildListener</A></CODE></DL>
368</DD>
369<DD><DL>
370<DT><B>Parameters:</B><DD><CODE>event</CODE> - An event with any relevant extra information.
371 Must not be <code>null</code>.<DT><B>See Also:</B><DD><A HREF="../../../../../../../org/apache/tools/ant/BuildEvent.html#getTarget()"><CODE>BuildEvent.getTarget()</CODE></A></DL>
372</DD>
373</DL>
374<HR>
375
376<A NAME="targetFinished(org.apache.tools.ant.BuildEvent)"><!-- --></A><H3>
377targetFinished</H3>
378<PRE>
379public void <B>targetFinished</B>(<A HREF="../../../../../../../org/apache/tools/ant/BuildEvent.html" title="class in org.apache.tools.ant">BuildEvent</A>&nbsp;event)</PRE>
380<DL>
381<DD>Fired when a target has finished. This event will
382 still be thrown if an error occurred during the build.
383<P>
384<DD><DL>
385<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../org/apache/tools/ant/BuildListener.html#targetFinished(org.apache.tools.ant.BuildEvent)">targetFinished</A></CODE> in interface <CODE><A HREF="../../../../../../../org/apache/tools/ant/BuildListener.html" title="interface in org.apache.tools.ant">BuildListener</A></CODE></DL>
386</DD>
387<DD><DL>
388<DT><B>Parameters:</B><DD><CODE>event</CODE> - An event with any relevant extra information.
389 Must not be <code>null</code>.<DT><B>See Also:</B><DD><A HREF="../../../../../../../org/apache/tools/ant/BuildEvent.html#getException()"><CODE>BuildEvent.getException()</CODE></A></DL>
390</DD>
391</DL>
392<HR>
393
394<A NAME="taskStarted(org.apache.tools.ant.BuildEvent)"><!-- --></A><H3>
395taskStarted</H3>
396<PRE>
397public void <B>taskStarted</B>(<A HREF="../../../../../../../org/apache/tools/ant/BuildEvent.html" title="class in org.apache.tools.ant">BuildEvent</A>&nbsp;event)</PRE>
398<DL>
399<DD>Fired when a task is started.
400<P>
401<DD><DL>
402<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../org/apache/tools/ant/BuildListener.html#taskStarted(org.apache.tools.ant.BuildEvent)">taskStarted</A></CODE> in interface <CODE><A HREF="../../../../../../../org/apache/tools/ant/BuildListener.html" title="interface in org.apache.tools.ant">BuildListener</A></CODE></DL>
403</DD>
404<DD><DL>
405<DT><B>Parameters:</B><DD><CODE>event</CODE> - An event with any relevant extra information.
406 Must not be <code>null</code>.<DT><B>See Also:</B><DD><A HREF="../../../../../../../org/apache/tools/ant/BuildEvent.html#getTask()"><CODE>BuildEvent.getTask()</CODE></A></DL>
407</DD>
408</DL>
409<HR>
410
411<A NAME="taskFinished(org.apache.tools.ant.BuildEvent)"><!-- --></A><H3>
412taskFinished</H3>
413<PRE>
414public void <B>taskFinished</B>(<A HREF="../../../../../../../org/apache/tools/ant/BuildEvent.html" title="class in org.apache.tools.ant">BuildEvent</A>&nbsp;event)</PRE>
415<DL>
416<DD>Fired when a task has finished. This event will still
417 be throw if an error occurred during the build.
418<P>
419<DD><DL>
420<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../org/apache/tools/ant/BuildListener.html#taskFinished(org.apache.tools.ant.BuildEvent)">taskFinished</A></CODE> in interface <CODE><A HREF="../../../../../../../org/apache/tools/ant/BuildListener.html" title="interface in org.apache.tools.ant">BuildListener</A></CODE></DL>
421</DD>
422<DD><DL>
423<DT><B>Parameters:</B><DD><CODE>event</CODE> - An event with any relevant extra information.
424 Must not be <code>null</code>.<DT><B>See Also:</B><DD><A HREF="../../../../../../../org/apache/tools/ant/BuildEvent.html#getException()"><CODE>BuildEvent.getException()</CODE></A></DL>
425</DD>
426</DL>
427<HR>
428
429<A NAME="messageLogged(org.apache.tools.ant.BuildEvent)"><!-- --></A><H3>
430messageLogged</H3>
431<PRE>
432public void <B>messageLogged</B>(<A HREF="../../../../../../../org/apache/tools/ant/BuildEvent.html" title="class in org.apache.tools.ant">BuildEvent</A>&nbsp;event)</PRE>
433<DL>
434<DD>Fired whenever a message is logged.
435<P>
436<DD><DL>
437<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../org/apache/tools/ant/BuildListener.html#messageLogged(org.apache.tools.ant.BuildEvent)">messageLogged</A></CODE> in interface <CODE><A HREF="../../../../../../../org/apache/tools/ant/BuildListener.html" title="interface in org.apache.tools.ant">BuildListener</A></CODE></DL>
438</DD>
439<DD><DL>
440<DT><B>Parameters:</B><DD><CODE>event</CODE> - An event with any relevant extra information.
441 Must not be <code>null</code>.<DT><B>See Also:</B><DD><A HREF="../../../../../../../org/apache/tools/ant/BuildEvent.html#getMessage()"><CODE>BuildEvent.getMessage()</CODE></A>,
442<A HREF="../../../../../../../org/apache/tools/ant/BuildEvent.html#getPriority()"><CODE>BuildEvent.getPriority()</CODE></A></DL>
443</DD>
444</DL>
445<!-- ========= END OF CLASS DATA ========= -->
446<HR>
447
448
449<!-- ======= START OF BOTTOM NAVBAR ====== -->
450<A NAME="navbar_bottom"><!-- --></A>
451<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
452<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
453<TR>
454<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
455<A NAME="navbar_bottom_firstrow"><!-- --></A>
456<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
457 <TR ALIGN="center" VALIGN="top">
458 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
459 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
460 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
461 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
462 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
463 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
464 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
465 </TR>
466</TABLE>
467</TD>
468<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
469</EM>
470</TD>
471</TR>
472
473<TR>
474<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
475&nbsp;PREV CLASS&nbsp;
476&nbsp;<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/sound/SoundTask.html" title="class in org.apache.tools.ant.taskdefs.optional.sound"><B>NEXT CLASS</B></A></FONT></TD>
477<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
478 <A HREF="../../../../../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
479&nbsp;<A HREF="AntSoundPlayer.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
480&nbsp;<SCRIPT type="text/javascript">
481 <!--
482 if(window==top) {
483 document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
484 }
485 //-->
486</SCRIPT>
487<NOSCRIPT>
488 <A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
489</NOSCRIPT>
490
491</FONT></TD>
492</TR>
493<TR>
494<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
495 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
496<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
497DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
498</TR>
499</TABLE>
500<A NAME="skip-navbar_bottom"></A>
501<!-- ======== END OF BOTTOM NAVBAR ======= -->
502
503<HR>
504Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
505</BODY>
506</HTML>
Note: See TracBrowser for help on using the repository browser.