source: other-projects/trunk/gs3-release-maker/apache-ant-1.6.5/build/javadocs/org/apache/tools/ant/taskdefs/optional/Javah.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: 40.0 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:23 NZST 2007 -->
6<TITLE>
7Javah (Apache Ant API)
8</TITLE>
9
10<META NAME="keywords" CONTENT="org.apache.tools.ant.taskdefs.optional.Javah 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="Javah (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/optional/IContract.html" title="class in org.apache.tools.ant.taskdefs.optional"><B>PREV CLASS</B></A>&nbsp;
53&nbsp;<A HREF="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.ClassArgument.html" title="class in org.apache.tools.ant.taskdefs.optional"><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="Javah.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;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.tools.ant.Task">FIELD</A>&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</FONT>
85<BR>
86Class Javah</H2>
87<PRE>
88java.lang.Object
89 <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">org.apache.tools.ant.ProjectComponent</A>
90 <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">org.apache.tools.ant.Task</A>
91 <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.taskdefs.optional.Javah</B>
92</PRE>
93<HR>
94<DL>
95<DT>public class <B>Javah</B><DT>extends <A HREF="../../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></DL>
96
97<P>
98Generates JNI header files using javah.
99
100 This task can take the following arguments:
101 <ul>
102 <li>classname - the fully-qualified name of a class</li>
103 <li>outputFile - Concatenates the resulting header or source files for all
104 the classes listed into this file</li>
105 <li>destdir - Sets the directory where javah saves the header files or the
106 stub files</li>
107 <li>classpath</li>
108 <li>bootclasspath</li>
109 <li>force - Specifies that output files should always be written
110 (JDK1.2 only)</li>
111 <li>old - Specifies that old JDK1.0-style header files should be generated
112 (otherwise output file contain JNI-style native method
113 function prototypes) (JDK1.2 only)</li>
114 <li>stubs - generate C declarations from the Java object file (used with old)</li>
115 <li>verbose - causes javah to print a message to stdout concerning the status
116 of the generated files</li>
117 <li>extdirs - Override location of installed extensions</li>
118 </ul>
119 Of these arguments, either <b>outputFile</b> or <b>destdir</b> is required,
120 but not both. More than one classname may be specified, using a comma-separated
121 list or by using <code>&lt;class name="xxx"&gt;</code> elements within the task.
122 <p>
123 When this task executes, it will generate C header and source files that
124 are needed to implement native methods.
125<P>
126
127<P>
128<HR>
129
130<P>
131<!-- ======== NESTED CLASS SUMMARY ======== -->
132
133<A NAME="nested_class_summary"><!-- --></A>
134<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
135<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
136<TD COLSPAN=2><FONT SIZE="+2">
137<B>Nested Class Summary</B></FONT></TD>
138</TR>
139<TR BGCOLOR="white" CLASS="TableRowColor">
140<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
141<CODE>&nbsp;class</CODE></FONT></TD>
142<TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.ClassArgument.html" title="class in org.apache.tools.ant.taskdefs.optional">Javah.ClassArgument</A></B></CODE>
143
144<BR>
145&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
146</TR>
147</TABLE>
148&nbsp;
149<!-- =========== FIELD SUMMARY =========== -->
150
151<A NAME="field_summary"><!-- --></A>
152<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
153<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
154<TD COLSPAN=2><FONT SIZE="+2">
155<B>Field Summary</B></FONT></TD>
156</TR>
157</TABLE>
158&nbsp;<A NAME="fields_inherited_from_class_org.apache.tools.ant.Task"><!-- --></A>
159<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
160<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
161<TD><B>Fields inherited from class org.apache.tools.ant.<A HREF="../../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></B></TD>
162</TR>
163<TR BGCOLOR="white" CLASS="TableRowColor">
164<TD><CODE><A HREF="../../../../../../org/apache/tools/ant/Task.html#description">description</A>, <A HREF="../../../../../../org/apache/tools/ant/Task.html#location">location</A>, <A HREF="../../../../../../org/apache/tools/ant/Task.html#target">target</A>, <A HREF="../../../../../../org/apache/tools/ant/Task.html#taskName">taskName</A>, <A HREF="../../../../../../org/apache/tools/ant/Task.html#taskType">taskType</A>, <A HREF="../../../../../../org/apache/tools/ant/Task.html#wrapper">wrapper</A></CODE></TD>
165</TR>
166</TABLE>
167&nbsp;<A NAME="fields_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
168<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
169<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
170<TD><B>Fields inherited from class org.apache.tools.ant.<A HREF="../../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">ProjectComponent</A></B></TD>
171</TR>
172<TR BGCOLOR="white" CLASS="TableRowColor">
173<TD><CODE><A HREF="../../../../../../org/apache/tools/ant/ProjectComponent.html#project">project</A></CODE></TD>
174</TR>
175</TABLE>
176&nbsp;
177<!-- ======== CONSTRUCTOR SUMMARY ======== -->
178
179<A NAME="constructor_summary"><!-- --></A>
180<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
181<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
182<TD COLSPAN=2><FONT SIZE="+2">
183<B>Constructor Summary</B></FONT></TD>
184</TR>
185<TR BGCOLOR="white" CLASS="TableRowColor">
186<TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#Javah()">Javah</A></B>()</CODE>
187
188<BR>
189&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
190</TR>
191</TABLE>
192&nbsp;
193<!-- ========== METHOD SUMMARY =========== -->
194
195<A NAME="method_summary"><!-- --></A>
196<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
197<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
198<TD COLSPAN=2><FONT SIZE="+2">
199<B>Method Summary</B></FONT></TD>
200</TR>
201<TR BGCOLOR="white" CLASS="TableRowColor">
202<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
203<CODE>&nbsp;<A HREF="../../../../../../org/apache/tools/ant/util/facade/ImplementationSpecificArgument.html" title="class in org.apache.tools.ant.util.facade">ImplementationSpecificArgument</A></CODE></FONT></TD>
204<TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#createArg()">createArg</A></B>()</CODE>
205
206<BR>
207&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds an implementation specific command-line argument.</TD>
208</TR>
209<TR BGCOLOR="white" CLASS="TableRowColor">
210<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
211<CODE>&nbsp;<A HREF="../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A></CODE></FONT></TD>
212<TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#createBootclasspath()">createBootclasspath</A></B>()</CODE>
213
214<BR>
215&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds path to bootstrap class files.</TD>
216</TR>
217<TR BGCOLOR="white" CLASS="TableRowColor">
218<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
219<CODE>&nbsp;<A HREF="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.ClassArgument.html" title="class in org.apache.tools.ant.taskdefs.optional">Javah.ClassArgument</A></CODE></FONT></TD>
220<TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#createClass()">createClass</A></B>()</CODE>
221
222<BR>
223&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds class to process.</TD>
224</TR>
225<TR BGCOLOR="white" CLASS="TableRowColor">
226<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
227<CODE>&nbsp;<A HREF="../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A></CODE></FONT></TD>
228<TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#createClasspath()">createClasspath</A></B>()</CODE>
229
230<BR>
231&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Path to use for classpath.</TD>
232</TR>
233<TR BGCOLOR="white" CLASS="TableRowColor">
234<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
235<CODE>&nbsp;void</CODE></FONT></TD>
236<TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#execute()">execute</A></B>()</CODE>
237
238<BR>
239&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Execute the task</TD>
240</TR>
241<TR BGCOLOR="white" CLASS="TableRowColor">
242<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
243<CODE>&nbsp;<A HREF="../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A></CODE></FONT></TD>
244<TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#getBootclasspath()">getBootclasspath</A></B>()</CODE>
245
246<BR>
247&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The bootclasspath to use.</TD>
248</TR>
249<TR BGCOLOR="white" CLASS="TableRowColor">
250<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
251<CODE>&nbsp;java.lang.String[]</CODE></FONT></TD>
252<TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#getClasses()">getClasses</A></B>()</CODE>
253
254<BR>
255&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Names of the classes to process.</TD>
256</TR>
257<TR BGCOLOR="white" CLASS="TableRowColor">
258<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
259<CODE>&nbsp;<A HREF="../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A></CODE></FONT></TD>
260<TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#getClasspath()">getClasspath</A></B>()</CODE>
261
262<BR>
263&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The classpath to use.</TD>
264</TR>
265<TR BGCOLOR="white" CLASS="TableRowColor">
266<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
267<CODE>&nbsp;java.lang.String[]</CODE></FONT></TD>
268<TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#getCurrentArgs()">getCurrentArgs</A></B>()</CODE>
269
270<BR>
271&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the (implementation specific) settings given as nested
272 arg elements.</TD>
273</TR>
274<TR BGCOLOR="white" CLASS="TableRowColor">
275<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
276<CODE>&nbsp;java.io.File</CODE></FONT></TD>
277<TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#getDestdir()">getDestdir</A></B>()</CODE>
278
279<BR>
280&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The destination directory, if any.</TD>
281</TR>
282<TR BGCOLOR="white" CLASS="TableRowColor">
283<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
284<CODE>&nbsp;boolean</CODE></FONT></TD>
285<TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#getForce()">getForce</A></B>()</CODE>
286
287<BR>
288&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Whether output files should always be written.</TD>
289</TR>
290<TR BGCOLOR="white" CLASS="TableRowColor">
291<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
292<CODE>&nbsp;boolean</CODE></FONT></TD>
293<TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#getOld()">getOld</A></B>()</CODE>
294
295<BR>
296&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Whether old JDK1.0-style header files should be generated.</TD>
297</TR>
298<TR BGCOLOR="white" CLASS="TableRowColor">
299<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
300<CODE>&nbsp;java.io.File</CODE></FONT></TD>
301<TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#getOutputfile()">getOutputfile</A></B>()</CODE>
302
303<BR>
304&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The destination file, if any.</TD>
305</TR>
306<TR BGCOLOR="white" CLASS="TableRowColor">
307<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
308<CODE>&nbsp;boolean</CODE></FONT></TD>
309<TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#getStubs()">getStubs</A></B>()</CODE>
310
311<BR>
312&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Whether C declarations from the Java object file should be generated.</TD>
313</TR>
314<TR BGCOLOR="white" CLASS="TableRowColor">
315<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
316<CODE>&nbsp;boolean</CODE></FONT></TD>
317<TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#getVerbose()">getVerbose</A></B>()</CODE>
318
319<BR>
320&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Whether verbose output should get generated.</TD>
321</TR>
322<TR BGCOLOR="white" CLASS="TableRowColor">
323<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
324<CODE>&nbsp;void</CODE></FONT></TD>
325<TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#logAndAddFiles(org.apache.tools.ant.types.Commandline)">logAndAddFiles</A></B>(<A HREF="../../../../../../org/apache/tools/ant/types/Commandline.html" title="class in org.apache.tools.ant.types">Commandline</A>&nbsp;cmd)</CODE>
326
327<BR>
328&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Logs the compilation parameters, adds the files to compile and logs the
329 &quot;niceSourceList&quot;</TD>
330</TR>
331<TR BGCOLOR="white" CLASS="TableRowColor">
332<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
333<CODE>protected &nbsp;void</CODE></FONT></TD>
334<TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#logAndAddFilesToCompile(org.apache.tools.ant.types.Commandline)">logAndAddFilesToCompile</A></B>(<A HREF="../../../../../../org/apache/tools/ant/types/Commandline.html" title="class in org.apache.tools.ant.types">Commandline</A>&nbsp;cmd)</CODE>
335
336<BR>
337&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Logs the compilation parameters, adds the files to compile and logs the
338 &quot;niceSourceList&quot;</TD>
339</TR>
340<TR BGCOLOR="white" CLASS="TableRowColor">
341<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
342<CODE>&nbsp;void</CODE></FONT></TD>
343<TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#setBootclasspath(org.apache.tools.ant.types.Path)">setBootclasspath</A></B>(<A HREF="../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A>&nbsp;src)</CODE>
344
345<BR>
346&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;location of bootstrap class files.</TD>
347</TR>
348<TR BGCOLOR="white" CLASS="TableRowColor">
349<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
350<CODE>&nbsp;void</CODE></FONT></TD>
351<TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#setBootClasspathRef(org.apache.tools.ant.types.Reference)">setBootClasspathRef</A></B>(<A HREF="../../../../../../org/apache/tools/ant/types/Reference.html" title="class in org.apache.tools.ant.types">Reference</A>&nbsp;r)</CODE>
352
353<BR>
354&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a reference to a classpath defined elsewhere.</TD>
355</TR>
356<TR BGCOLOR="white" CLASS="TableRowColor">
357<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
358<CODE>&nbsp;void</CODE></FONT></TD>
359<TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#setClass(java.lang.String)">setClass</A></B>(java.lang.String&nbsp;cls)</CODE>
360
361<BR>
362&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the fully-qualified name of the class (or classes, separated by commas).</TD>
363</TR>
364<TR BGCOLOR="white" CLASS="TableRowColor">
365<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
366<CODE>&nbsp;void</CODE></FONT></TD>
367<TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#setClasspath(org.apache.tools.ant.types.Path)">setClasspath</A></B>(<A HREF="../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A>&nbsp;src)</CODE>
368
369<BR>
370&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the classpath to use.</TD>
371</TR>
372<TR BGCOLOR="white" CLASS="TableRowColor">
373<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
374<CODE>&nbsp;void</CODE></FONT></TD>
375<TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#setClasspathRef(org.apache.tools.ant.types.Reference)">setClasspathRef</A></B>(<A HREF="../../../../../../org/apache/tools/ant/types/Reference.html" title="class in org.apache.tools.ant.types">Reference</A>&nbsp;r)</CODE>
376
377<BR>
378&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a reference to a classpath defined elsewhere.</TD>
379</TR>
380<TR BGCOLOR="white" CLASS="TableRowColor">
381<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
382<CODE>&nbsp;void</CODE></FONT></TD>
383<TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#setDestdir(java.io.File)">setDestdir</A></B>(java.io.File&nbsp;destDir)</CODE>
384
385<BR>
386&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the destination directory into which the Java source
387 files should be compiled.</TD>
388</TR>
389<TR BGCOLOR="white" CLASS="TableRowColor">
390<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
391<CODE>&nbsp;void</CODE></FONT></TD>
392<TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#setForce(boolean)">setForce</A></B>(boolean&nbsp;force)</CODE>
393
394<BR>
395&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If true, output files should always be written (JDK1.2 only).</TD>
396</TR>
397<TR BGCOLOR="white" CLASS="TableRowColor">
398<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
399<CODE>&nbsp;void</CODE></FONT></TD>
400<TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#setImplementation(java.lang.String)">setImplementation</A></B>(java.lang.String&nbsp;impl)</CODE>
401
402<BR>
403&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Choose the implementation for this particular task.</TD>
404</TR>
405<TR BGCOLOR="white" CLASS="TableRowColor">
406<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
407<CODE>&nbsp;void</CODE></FONT></TD>
408<TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#setOld(boolean)">setOld</A></B>(boolean&nbsp;old)</CODE>
409
410<BR>
411&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If true, specifies that old JDK1.0-style header files should be
412 generated.</TD>
413</TR>
414<TR BGCOLOR="white" CLASS="TableRowColor">
415<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
416<CODE>&nbsp;void</CODE></FONT></TD>
417<TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#setOutputFile(java.io.File)">setOutputFile</A></B>(java.io.File&nbsp;outputFile)</CODE>
418
419<BR>
420&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Concatenates the resulting header or source files for all
421 the classes listed into this file.</TD>
422</TR>
423<TR BGCOLOR="white" CLASS="TableRowColor">
424<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
425<CODE>&nbsp;void</CODE></FONT></TD>
426<TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#setStubs(boolean)">setStubs</A></B>(boolean&nbsp;stubs)</CODE>
427
428<BR>
429&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If true, generate C declarations from the Java object file (used with old).</TD>
430</TR>
431<TR BGCOLOR="white" CLASS="TableRowColor">
432<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
433<CODE>&nbsp;void</CODE></FONT></TD>
434<TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#setVerbose(boolean)">setVerbose</A></B>(boolean&nbsp;verbose)</CODE>
435
436<BR>
437&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If true, causes Javah to print a message concerning
438 the status of the generated files.</TD>
439</TR>
440</TABLE>
441&nbsp;<A NAME="methods_inherited_from_class_org.apache.tools.ant.Task"><!-- --></A>
442<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
443<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
444<TD><B>Methods inherited from class org.apache.tools.ant.<A HREF="../../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></B></TD>
445</TR>
446<TR BGCOLOR="white" CLASS="TableRowColor">
447<TD><CODE><A HREF="../../../../../../org/apache/tools/ant/Task.html#getDescription()">getDescription</A>, <A HREF="../../../../../../org/apache/tools/ant/Task.html#getLocation()">getLocation</A>, <A HREF="../../../../../../org/apache/tools/ant/Task.html#getOwningTarget()">getOwningTarget</A>, <A HREF="../../../../../../org/apache/tools/ant/Task.html#getRuntimeConfigurableWrapper()">getRuntimeConfigurableWrapper</A>, <A HREF="../../../../../../org/apache/tools/ant/Task.html#getTaskName()">getTaskName</A>, <A HREF="../../../../../../org/apache/tools/ant/Task.html#getTaskType()">getTaskType</A>, <A HREF="../../../../../../org/apache/tools/ant/Task.html#getWrapper()">getWrapper</A>, <A HREF="../../../../../../org/apache/tools/ant/Task.html#handleErrorFlush(java.lang.String)">handleErrorFlush</A>, <A HREF="../../../../../../org/apache/tools/ant/Task.html#handleErrorOutput(java.lang.String)">handleErrorOutput</A>, <A HREF="../../../../../../org/apache/tools/ant/Task.html#handleFlush(java.lang.String)">handleFlush</A>, <A HREF="../../../../../../org/apache/tools/ant/Task.html#handleInput(byte[], int, int)">handleInput</A>, <A HREF="../../../../../../org/apache/tools/ant/Task.html#handleOutput(java.lang.String)">handleOutput</A>, <A HREF="../../../../../../org/apache/tools/ant/Task.html#init()">init</A>, <A HREF="../../../../../../org/apache/tools/ant/Task.html#isInvalid()">isInvalid</A>, <A HREF="../../../../../../org/apache/tools/ant/Task.html#log(java.lang.String)">log</A>, <A HREF="../../../../../../org/apache/tools/ant/Task.html#log(java.lang.String, int)">log</A>, <A HREF="../../../../../../org/apache/tools/ant/Task.html#maybeConfigure()">maybeConfigure</A>, <A HREF="../../../../../../org/apache/tools/ant/Task.html#perform()">perform</A>, <A HREF="../../../../../../org/apache/tools/ant/Task.html#reconfigure()">reconfigure</A>, <A HREF="../../../../../../org/apache/tools/ant/Task.html#setDescription(java.lang.String)">setDescription</A>, <A HREF="../../../../../../org/apache/tools/ant/Task.html#setLocation(org.apache.tools.ant.Location)">setLocation</A>, <A HREF="../../../../../../org/apache/tools/ant/Task.html#setOwningTarget(org.apache.tools.ant.Target)">setOwningTarget</A>, <A HREF="../../../../../../org/apache/tools/ant/Task.html#setRuntimeConfigurableWrapper(org.apache.tools.ant.RuntimeConfigurable)">setRuntimeConfigurableWrapper</A>, <A HREF="../../../../../../org/apache/tools/ant/Task.html#setTaskName(java.lang.String)">setTaskName</A>, <A HREF="../../../../../../org/apache/tools/ant/Task.html#setTaskType(java.lang.String)">setTaskType</A></CODE></TD>
448</TR>
449</TABLE>
450&nbsp;<A NAME="methods_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
451<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
452<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
453<TD><B>Methods inherited from class org.apache.tools.ant.<A HREF="../../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">ProjectComponent</A></B></TD>
454</TR>
455<TR BGCOLOR="white" CLASS="TableRowColor">
456<TD><CODE><A HREF="../../../../../../org/apache/tools/ant/ProjectComponent.html#getProject()">getProject</A>, <A HREF="../../../../../../org/apache/tools/ant/ProjectComponent.html#setProject(org.apache.tools.ant.Project)">setProject</A></CODE></TD>
457</TR>
458</TABLE>
459&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
460<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
461<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
462<TD><B>Methods inherited from class java.lang.Object</B></TD>
463</TR>
464<TR BGCOLOR="white" CLASS="TableRowColor">
465<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
466</TR>
467</TABLE>
468&nbsp;
469<P>
470
471<!-- ============ FIELD DETAIL =========== -->
472
473
474<!-- ========= CONSTRUCTOR DETAIL ======== -->
475
476<A NAME="constructor_detail"><!-- --></A>
477<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
478<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
479<TD COLSPAN=1><FONT SIZE="+2">
480<B>Constructor Detail</B></FONT></TD>
481</TR>
482</TABLE>
483
484<A NAME="Javah()"><!-- --></A><H3>
485Javah</H3>
486<PRE>
487public <B>Javah</B>()</PRE>
488<DL>
489</DL>
490
491<!-- ============ METHOD DETAIL ========== -->
492
493<A NAME="method_detail"><!-- --></A>
494<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
495<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
496<TD COLSPAN=1><FONT SIZE="+2">
497<B>Method Detail</B></FONT></TD>
498</TR>
499</TABLE>
500
501<A NAME="setClass(java.lang.String)"><!-- --></A><H3>
502setClass</H3>
503<PRE>
504public void <B>setClass</B>(java.lang.String&nbsp;cls)</PRE>
505<DL>
506<DD>the fully-qualified name of the class (or classes, separated by commas).
507<P>
508<DD><DL>
509</DL>
510</DD>
511</DL>
512<HR>
513
514<A NAME="createClass()"><!-- --></A><H3>
515createClass</H3>
516<PRE>
517public <A HREF="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.ClassArgument.html" title="class in org.apache.tools.ant.taskdefs.optional">Javah.ClassArgument</A> <B>createClass</B>()</PRE>
518<DL>
519<DD>Adds class to process.
520<P>
521<DD><DL>
522</DL>
523</DD>
524</DL>
525<HR>
526
527<A NAME="getClasses()"><!-- --></A><H3>
528getClasses</H3>
529<PRE>
530public java.lang.String[] <B>getClasses</B>()</PRE>
531<DL>
532<DD>Names of the classes to process.
533<P>
534<DD><DL>
535<DT><B>Since:</B></DT>
536 <DD>Ant 1.6.3</DD>
537</DL>
538</DD>
539</DL>
540<HR>
541
542<A NAME="setDestdir(java.io.File)"><!-- --></A><H3>
543setDestdir</H3>
544<PRE>
545public void <B>setDestdir</B>(java.io.File&nbsp;destDir)</PRE>
546<DL>
547<DD>Set the destination directory into which the Java source
548 files should be compiled.
549<P>
550<DD><DL>
551</DL>
552</DD>
553</DL>
554<HR>
555
556<A NAME="getDestdir()"><!-- --></A><H3>
557getDestdir</H3>
558<PRE>
559public java.io.File <B>getDestdir</B>()</PRE>
560<DL>
561<DD>The destination directory, if any.
562<P>
563<DD><DL>
564<DT><B>Since:</B></DT>
565 <DD>Ant 1.6.3</DD>
566</DL>
567</DD>
568</DL>
569<HR>
570
571<A NAME="setClasspath(org.apache.tools.ant.types.Path)"><!-- --></A><H3>
572setClasspath</H3>
573<PRE>
574public void <B>setClasspath</B>(<A HREF="../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A>&nbsp;src)</PRE>
575<DL>
576<DD>the classpath to use.
577<P>
578<DD><DL>
579</DL>
580</DD>
581</DL>
582<HR>
583
584<A NAME="createClasspath()"><!-- --></A><H3>
585createClasspath</H3>
586<PRE>
587public <A HREF="../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> <B>createClasspath</B>()</PRE>
588<DL>
589<DD>Path to use for classpath.
590<P>
591<DD><DL>
592</DL>
593</DD>
594</DL>
595<HR>
596
597<A NAME="setClasspathRef(org.apache.tools.ant.types.Reference)"><!-- --></A><H3>
598setClasspathRef</H3>
599<PRE>
600public void <B>setClasspathRef</B>(<A HREF="../../../../../../org/apache/tools/ant/types/Reference.html" title="class in org.apache.tools.ant.types">Reference</A>&nbsp;r)</PRE>
601<DL>
602<DD>Adds a reference to a classpath defined elsewhere.
603<P>
604<DD><DL>
605<DT><B>To do:</B></DT>
606 <DD>this needs to be documented in the HTML docs</DD>
607</DL>
608</DD>
609</DL>
610<HR>
611
612<A NAME="getClasspath()"><!-- --></A><H3>
613getClasspath</H3>
614<PRE>
615public <A HREF="../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> <B>getClasspath</B>()</PRE>
616<DL>
617<DD>The classpath to use.
618<P>
619<DD><DL>
620<DT><B>Since:</B></DT>
621 <DD>Ant 1.6.3</DD>
622</DL>
623</DD>
624</DL>
625<HR>
626
627<A NAME="setBootclasspath(org.apache.tools.ant.types.Path)"><!-- --></A><H3>
628setBootclasspath</H3>
629<PRE>
630public void <B>setBootclasspath</B>(<A HREF="../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A>&nbsp;src)</PRE>
631<DL>
632<DD>location of bootstrap class files.
633<P>
634<DD><DL>
635</DL>
636</DD>
637</DL>
638<HR>
639
640<A NAME="createBootclasspath()"><!-- --></A><H3>
641createBootclasspath</H3>
642<PRE>
643public <A HREF="../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> <B>createBootclasspath</B>()</PRE>
644<DL>
645<DD>Adds path to bootstrap class files.
646<P>
647<DD><DL>
648</DL>
649</DD>
650</DL>
651<HR>
652
653<A NAME="setBootClasspathRef(org.apache.tools.ant.types.Reference)"><!-- --></A><H3>
654setBootClasspathRef</H3>
655<PRE>
656public void <B>setBootClasspathRef</B>(<A HREF="../../../../../../org/apache/tools/ant/types/Reference.html" title="class in org.apache.tools.ant.types">Reference</A>&nbsp;r)</PRE>
657<DL>
658<DD>Adds a reference to a classpath defined elsewhere.
659<P>
660<DD><DL>
661<DT><B>To do:</B></DT>
662 <DD>this needs to be documented in the HTML</DD>
663</DL>
664</DD>
665</DL>
666<HR>
667
668<A NAME="getBootclasspath()"><!-- --></A><H3>
669getBootclasspath</H3>
670<PRE>
671public <A HREF="../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> <B>getBootclasspath</B>()</PRE>
672<DL>
673<DD>The bootclasspath to use.
674<P>
675<DD><DL>
676<DT><B>Since:</B></DT>
677 <DD>Ant 1.6.3</DD>
678</DL>
679</DD>
680</DL>
681<HR>
682
683<A NAME="setOutputFile(java.io.File)"><!-- --></A><H3>
684setOutputFile</H3>
685<PRE>
686public void <B>setOutputFile</B>(java.io.File&nbsp;outputFile)</PRE>
687<DL>
688<DD>Concatenates the resulting header or source files for all
689 the classes listed into this file.
690<P>
691<DD><DL>
692</DL>
693</DD>
694</DL>
695<HR>
696
697<A NAME="getOutputfile()"><!-- --></A><H3>
698getOutputfile</H3>
699<PRE>
700public java.io.File <B>getOutputfile</B>()</PRE>
701<DL>
702<DD>The destination file, if any.
703<P>
704<DD><DL>
705<DT><B>Since:</B></DT>
706 <DD>Ant 1.6.3</DD>
707</DL>
708</DD>
709</DL>
710<HR>
711
712<A NAME="setForce(boolean)"><!-- --></A><H3>
713setForce</H3>
714<PRE>
715public void <B>setForce</B>(boolean&nbsp;force)</PRE>
716<DL>
717<DD>If true, output files should always be written (JDK1.2 only).
718<P>
719<DD><DL>
720</DL>
721</DD>
722</DL>
723<HR>
724
725<A NAME="getForce()"><!-- --></A><H3>
726getForce</H3>
727<PRE>
728public boolean <B>getForce</B>()</PRE>
729<DL>
730<DD>Whether output files should always be written.
731<P>
732<DD><DL>
733<DT><B>Since:</B></DT>
734 <DD>Ant 1.6.3</DD>
735</DL>
736</DD>
737</DL>
738<HR>
739
740<A NAME="setOld(boolean)"><!-- --></A><H3>
741setOld</H3>
742<PRE>
743public void <B>setOld</B>(boolean&nbsp;old)</PRE>
744<DL>
745<DD>If true, specifies that old JDK1.0-style header files should be
746 generated.
747 (otherwise output file contain JNI-style native method function prototypes) (JDK1.2 only)
748<P>
749<DD><DL>
750</DL>
751</DD>
752</DL>
753<HR>
754
755<A NAME="getOld()"><!-- --></A><H3>
756getOld</H3>
757<PRE>
758public boolean <B>getOld</B>()</PRE>
759<DL>
760<DD>Whether old JDK1.0-style header files should be generated.
761<P>
762<DD><DL>
763<DT><B>Since:</B></DT>
764 <DD>Ant 1.6.3</DD>
765</DL>
766</DD>
767</DL>
768<HR>
769
770<A NAME="setStubs(boolean)"><!-- --></A><H3>
771setStubs</H3>
772<PRE>
773public void <B>setStubs</B>(boolean&nbsp;stubs)</PRE>
774<DL>
775<DD>If true, generate C declarations from the Java object file (used with old).
776<P>
777<DD><DL>
778</DL>
779</DD>
780</DL>
781<HR>
782
783<A NAME="getStubs()"><!-- --></A><H3>
784getStubs</H3>
785<PRE>
786public boolean <B>getStubs</B>()</PRE>
787<DL>
788<DD>Whether C declarations from the Java object file should be generated.
789<P>
790<DD><DL>
791<DT><B>Since:</B></DT>
792 <DD>Ant 1.6.3</DD>
793</DL>
794</DD>
795</DL>
796<HR>
797
798<A NAME="setVerbose(boolean)"><!-- --></A><H3>
799setVerbose</H3>
800<PRE>
801public void <B>setVerbose</B>(boolean&nbsp;verbose)</PRE>
802<DL>
803<DD>If true, causes Javah to print a message concerning
804 the status of the generated files.
805<P>
806<DD><DL>
807</DL>
808</DD>
809</DL>
810<HR>
811
812<A NAME="getVerbose()"><!-- --></A><H3>
813getVerbose</H3>
814<PRE>
815public boolean <B>getVerbose</B>()</PRE>
816<DL>
817<DD>Whether verbose output should get generated.
818<P>
819<DD><DL>
820<DT><B>Since:</B></DT>
821 <DD>Ant 1.6.3</DD>
822</DL>
823</DD>
824</DL>
825<HR>
826
827<A NAME="setImplementation(java.lang.String)"><!-- --></A><H3>
828setImplementation</H3>
829<PRE>
830public void <B>setImplementation</B>(java.lang.String&nbsp;impl)</PRE>
831<DL>
832<DD>Choose the implementation for this particular task.
833<P>
834<DD><DL>
835<DT><B>Parameters:</B><DD><CODE>impl</CODE> - the name of the implemenation<DT><B>Since:</B></DT>
836 <DD>Ant 1.6.3</DD>
837</DL>
838</DD>
839</DL>
840<HR>
841
842<A NAME="createArg()"><!-- --></A><H3>
843createArg</H3>
844<PRE>
845public <A HREF="../../../../../../org/apache/tools/ant/util/facade/ImplementationSpecificArgument.html" title="class in org.apache.tools.ant.util.facade">ImplementationSpecificArgument</A> <B>createArg</B>()</PRE>
846<DL>
847<DD>Adds an implementation specific command-line argument.
848<P>
849<DD><DL>
850
851<DT><B>Returns:</B><DD>a ImplementationSpecificArgument to be configured<DT><B>Since:</B></DT>
852 <DD>Ant 1.6.3</DD>
853</DL>
854</DD>
855</DL>
856<HR>
857
858<A NAME="getCurrentArgs()"><!-- --></A><H3>
859getCurrentArgs</H3>
860<PRE>
861public java.lang.String[] <B>getCurrentArgs</B>()</PRE>
862<DL>
863<DD>Returns the (implementation specific) settings given as nested
864 arg elements.
865<P>
866<DD><DL>
867<DT><B>Since:</B></DT>
868 <DD>Ant 1.6.3</DD>
869</DL>
870</DD>
871</DL>
872<HR>
873
874<A NAME="execute()"><!-- --></A><H3>
875execute</H3>
876<PRE>
877public void <B>execute</B>()
878 throws <A HREF="../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
879<DL>
880<DD>Execute the task
881<P>
882<DD><DL>
883<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../../org/apache/tools/ant/Task.html#execute()">execute</A></CODE> in class <CODE><A HREF="../../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></CODE></DL>
884</DD>
885<DD><DL>
886
887<DT><B>Throws:</B>
888<DD><CODE><A HREF="../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - is there is a problem in the task execution.</DL>
889</DD>
890</DL>
891<HR>
892
893<A NAME="logAndAddFiles(org.apache.tools.ant.types.Commandline)"><!-- --></A><H3>
894logAndAddFiles</H3>
895<PRE>
896public void <B>logAndAddFiles</B>(<A HREF="../../../../../../org/apache/tools/ant/types/Commandline.html" title="class in org.apache.tools.ant.types">Commandline</A>&nbsp;cmd)</PRE>
897<DL>
898<DD>Logs the compilation parameters, adds the files to compile and logs the
899 &quot;niceSourceList&quot;
900<P>
901<DD><DL>
902</DL>
903</DD>
904</DL>
905<HR>
906
907<A NAME="logAndAddFilesToCompile(org.apache.tools.ant.types.Commandline)"><!-- --></A><H3>
908logAndAddFilesToCompile</H3>
909<PRE>
910protected void <B>logAndAddFilesToCompile</B>(<A HREF="../../../../../../org/apache/tools/ant/types/Commandline.html" title="class in org.apache.tools.ant.types">Commandline</A>&nbsp;cmd)</PRE>
911<DL>
912<DD>Logs the compilation parameters, adds the files to compile and logs the
913 &quot;niceSourceList&quot;
914<P>
915<DD><DL>
916</DL>
917</DD>
918</DL>
919<!-- ========= END OF CLASS DATA ========= -->
920<HR>
921
922
923<!-- ======= START OF BOTTOM NAVBAR ====== -->
924<A NAME="navbar_bottom"><!-- --></A>
925<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
926<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
927<TR>
928<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
929<A NAME="navbar_bottom_firstrow"><!-- --></A>
930<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
931 <TR ALIGN="center" VALIGN="top">
932 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
933 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
934 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
935 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
936 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
937 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
938 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
939 </TR>
940</TABLE>
941</TD>
942<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
943</EM>
944</TD>
945</TR>
946
947<TR>
948<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
949&nbsp;<A HREF="../../../../../../org/apache/tools/ant/taskdefs/optional/IContract.html" title="class in org.apache.tools.ant.taskdefs.optional"><B>PREV CLASS</B></A>&nbsp;
950&nbsp;<A HREF="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.ClassArgument.html" title="class in org.apache.tools.ant.taskdefs.optional"><B>NEXT CLASS</B></A></FONT></TD>
951<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
952 <A HREF="../../../../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
953&nbsp;<A HREF="Javah.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
954&nbsp;<SCRIPT type="text/javascript">
955 <!--
956 if(window==top) {
957 document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
958 }
959 //-->
960</SCRIPT>
961<NOSCRIPT>
962 <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
963</NOSCRIPT>
964
965</FONT></TD>
966</TR>
967<TR>
968<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
969 SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.tools.ant.Task">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
970<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
971DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
972</TR>
973</TABLE>
974<A NAME="skip-navbar_bottom"></A>
975<!-- ======== END OF BOTTOM NAVBAR ======= -->
976
977<HR>
978Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
979</BODY>
980</HTML>
Note: See TracBrowser for help on using the repository browser.