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>
|
---|
7 | Javah (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">
|
---|
15 | function 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> </TD>
|
---|
36 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
37 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
38 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
39 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
40 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </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 | <A HREF="../../../../../../org/apache/tools/ant/taskdefs/optional/IContract.html" title="class in org.apache.tools.ant.taskdefs.optional"><B>PREV CLASS</B></A>
|
---|
53 | <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>
|
---|
56 | <A HREF="Javah.html" target="_top"><B>NO FRAMES</B></A>
|
---|
57 | <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: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#fields_inherited_from_class_org.apache.tools.ant.Task">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
73 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
74 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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">
|
---|
84 | org.apache.tools.ant.taskdefs.optional</FONT>
|
---|
85 | <BR>
|
---|
86 | Class Javah</H2>
|
---|
87 | <PRE>
|
---|
88 | java.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>
|
---|
98 | Generates 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><class name="xxx"></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> 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 | </TD>
|
---|
146 | </TR>
|
---|
147 | </TABLE>
|
---|
148 |
|
---|
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 | <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 | <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 |
|
---|
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 | </TD>
|
---|
190 | </TR>
|
---|
191 | </TABLE>
|
---|
192 |
|
---|
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> <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 | 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> <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 | 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> <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 | 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> <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 | 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> 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 | 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> <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 | 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> 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 | 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> <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 | 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> 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 | 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> 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 | 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> 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 | 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> 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 | 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> 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 | 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> 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 | 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> 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 | 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> 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> cmd)</CODE>
|
---|
326 |
|
---|
327 | <BR>
|
---|
328 | Logs the compilation parameters, adds the files to compile and logs the
|
---|
329 | "niceSourceList"</TD>
|
---|
330 | </TR>
|
---|
331 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
332 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
333 | <CODE>protected 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> cmd)</CODE>
|
---|
335 |
|
---|
336 | <BR>
|
---|
337 | Logs the compilation parameters, adds the files to compile and logs the
|
---|
338 | "niceSourceList"</TD>
|
---|
339 | </TR>
|
---|
340 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
341 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
342 | <CODE> 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> src)</CODE>
|
---|
344 |
|
---|
345 | <BR>
|
---|
346 | 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> 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> r)</CODE>
|
---|
352 |
|
---|
353 | <BR>
|
---|
354 | 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> 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 cls)</CODE>
|
---|
360 |
|
---|
361 | <BR>
|
---|
362 | 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> 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> src)</CODE>
|
---|
368 |
|
---|
369 | <BR>
|
---|
370 | 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> 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> r)</CODE>
|
---|
376 |
|
---|
377 | <BR>
|
---|
378 | 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> 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 destDir)</CODE>
|
---|
384 |
|
---|
385 | <BR>
|
---|
386 | 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> void</CODE></FONT></TD>
|
---|
392 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#setForce(boolean)">setForce</A></B>(boolean force)</CODE>
|
---|
393 |
|
---|
394 | <BR>
|
---|
395 | 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> 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 impl)</CODE>
|
---|
401 |
|
---|
402 | <BR>
|
---|
403 | 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> void</CODE></FONT></TD>
|
---|
408 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#setOld(boolean)">setOld</A></B>(boolean old)</CODE>
|
---|
409 |
|
---|
410 | <BR>
|
---|
411 | 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> 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 outputFile)</CODE>
|
---|
418 |
|
---|
419 | <BR>
|
---|
420 | 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> void</CODE></FONT></TD>
|
---|
426 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#setStubs(boolean)">setStubs</A></B>(boolean stubs)</CODE>
|
---|
427 |
|
---|
428 | <BR>
|
---|
429 | 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> void</CODE></FONT></TD>
|
---|
434 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#setVerbose(boolean)">setVerbose</A></B>(boolean verbose)</CODE>
|
---|
435 |
|
---|
436 | <BR>
|
---|
437 | If true, causes Javah to print a message concerning
|
---|
438 | the status of the generated files.</TD>
|
---|
439 | </TR>
|
---|
440 | </TABLE>
|
---|
441 | <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 | <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 | <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 |
|
---|
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>
|
---|
485 | Javah</H3>
|
---|
486 | <PRE>
|
---|
487 | public <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>
|
---|
502 | setClass</H3>
|
---|
503 | <PRE>
|
---|
504 | public void <B>setClass</B>(java.lang.String 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>
|
---|
515 | createClass</H3>
|
---|
516 | <PRE>
|
---|
517 | public <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>
|
---|
528 | getClasses</H3>
|
---|
529 | <PRE>
|
---|
530 | public 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>
|
---|
543 | setDestdir</H3>
|
---|
544 | <PRE>
|
---|
545 | public void <B>setDestdir</B>(java.io.File 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>
|
---|
557 | getDestdir</H3>
|
---|
558 | <PRE>
|
---|
559 | public 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>
|
---|
572 | setClasspath</H3>
|
---|
573 | <PRE>
|
---|
574 | public void <B>setClasspath</B>(<A HREF="../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> 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>
|
---|
585 | createClasspath</H3>
|
---|
586 | <PRE>
|
---|
587 | public <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>
|
---|
598 | setClasspathRef</H3>
|
---|
599 | <PRE>
|
---|
600 | public void <B>setClasspathRef</B>(<A HREF="../../../../../../org/apache/tools/ant/types/Reference.html" title="class in org.apache.tools.ant.types">Reference</A> 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>
|
---|
613 | getClasspath</H3>
|
---|
614 | <PRE>
|
---|
615 | public <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>
|
---|
628 | setBootclasspath</H3>
|
---|
629 | <PRE>
|
---|
630 | public void <B>setBootclasspath</B>(<A HREF="../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> 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>
|
---|
641 | createBootclasspath</H3>
|
---|
642 | <PRE>
|
---|
643 | public <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>
|
---|
654 | setBootClasspathRef</H3>
|
---|
655 | <PRE>
|
---|
656 | public void <B>setBootClasspathRef</B>(<A HREF="../../../../../../org/apache/tools/ant/types/Reference.html" title="class in org.apache.tools.ant.types">Reference</A> 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>
|
---|
669 | getBootclasspath</H3>
|
---|
670 | <PRE>
|
---|
671 | public <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>
|
---|
684 | setOutputFile</H3>
|
---|
685 | <PRE>
|
---|
686 | public void <B>setOutputFile</B>(java.io.File 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>
|
---|
698 | getOutputfile</H3>
|
---|
699 | <PRE>
|
---|
700 | public 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>
|
---|
713 | setForce</H3>
|
---|
714 | <PRE>
|
---|
715 | public void <B>setForce</B>(boolean 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>
|
---|
726 | getForce</H3>
|
---|
727 | <PRE>
|
---|
728 | public 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>
|
---|
741 | setOld</H3>
|
---|
742 | <PRE>
|
---|
743 | public void <B>setOld</B>(boolean 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>
|
---|
756 | getOld</H3>
|
---|
757 | <PRE>
|
---|
758 | public 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>
|
---|
771 | setStubs</H3>
|
---|
772 | <PRE>
|
---|
773 | public void <B>setStubs</B>(boolean 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>
|
---|
784 | getStubs</H3>
|
---|
785 | <PRE>
|
---|
786 | public 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>
|
---|
799 | setVerbose</H3>
|
---|
800 | <PRE>
|
---|
801 | public void <B>setVerbose</B>(boolean 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>
|
---|
813 | getVerbose</H3>
|
---|
814 | <PRE>
|
---|
815 | public 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>
|
---|
828 | setImplementation</H3>
|
---|
829 | <PRE>
|
---|
830 | public void <B>setImplementation</B>(java.lang.String 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>
|
---|
843 | createArg</H3>
|
---|
844 | <PRE>
|
---|
845 | public <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>
|
---|
859 | getCurrentArgs</H3>
|
---|
860 | <PRE>
|
---|
861 | public 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>
|
---|
875 | execute</H3>
|
---|
876 | <PRE>
|
---|
877 | public 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>
|
---|
894 | logAndAddFiles</H3>
|
---|
895 | <PRE>
|
---|
896 | public void <B>logAndAddFiles</B>(<A HREF="../../../../../../org/apache/tools/ant/types/Commandline.html" title="class in org.apache.tools.ant.types">Commandline</A> cmd)</PRE>
|
---|
897 | <DL>
|
---|
898 | <DD>Logs the compilation parameters, adds the files to compile and logs the
|
---|
899 | "niceSourceList"
|
---|
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>
|
---|
908 | logAndAddFilesToCompile</H3>
|
---|
909 | <PRE>
|
---|
910 | protected void <B>logAndAddFilesToCompile</B>(<A HREF="../../../../../../org/apache/tools/ant/types/Commandline.html" title="class in org.apache.tools.ant.types">Commandline</A> cmd)</PRE>
|
---|
911 | <DL>
|
---|
912 | <DD>Logs the compilation parameters, adds the files to compile and logs the
|
---|
913 | "niceSourceList"
|
---|
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> </TD>
|
---|
933 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
934 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
935 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
936 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
937 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
938 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </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 | <A HREF="../../../../../../org/apache/tools/ant/taskdefs/optional/IContract.html" title="class in org.apache.tools.ant.taskdefs.optional"><B>PREV CLASS</B></A>
|
---|
950 | <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>
|
---|
953 | <A HREF="Javah.html" target="_top"><B>NO FRAMES</B></A>
|
---|
954 | <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: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#fields_inherited_from_class_org.apache.tools.ant.Task">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
970 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
971 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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>
|
---|
978 | Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
|
---|
979 | </BODY>
|
---|
980 | </HTML>
|
---|