????
| Current Path : /opt/ant/manual/api/org/apache/tools/ant/taskdefs/optional/ |
| Current File : //opt/ant/manual/api/org/apache/tools/ant/taskdefs/optional/Javah.html |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_03) on Tue May 22 06:24:53 CEST 2012 -->
<title>Javah (Apache Ant API)</title>
<meta name="date" content="2012-05-22">
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Javah (Apache Ant API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../org/apache/tools/ant/taskdefs/optional/EchoProperties.FormatAttribute.html" title="class in org.apache.tools.ant.taskdefs.optional"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.ClassArgument.html" title="class in org.apache.tools.ant.taskdefs.optional"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/tools/ant/taskdefs/optional/Javah.html" target="_top">Frames</a></li>
<li><a href="Javah.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary: </li>
<li><a href="#nested_class_summary">Nested</a> | </li>
<li><a href="#fields_inherited_from_class_org.apache.tools.ant.Task">Field</a> | </li>
<li><a href="#constructor_summary">Constr</a> | </li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li>Field | </li>
<li><a href="#constructor_detail">Constr</a> | </li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.tools.ant.taskdefs.optional</div>
<h2 title="Class Javah" class="title">Class Javah</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><a href="../../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">org.apache.tools.ant.ProjectComponent</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">org.apache.tools.ant.Task</a></li>
<li>
<ul class="inheritance">
<li>org.apache.tools.ant.taskdefs.optional.Javah</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>java.lang.Cloneable</dd>
</dl>
<hr>
<br>
<pre>public class <span class="strong">Javah</span>
extends <a href="../../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</a></pre>
<div class="block">Generates JNI header files using javah.
This task can take the following arguments:
<ul>
<li>classname - the fully-qualified name of a class</li>
<li>outputFile - Concatenates the resulting header or source files for all
the classes listed into this file</li>
<li>destdir - Sets the directory where javah saves the header files or the
stub files</li>
<li>classpath</li>
<li>bootclasspath</li>
<li>force - Specifies that output files should always be written
(JDK1.2 only)</li>
<li>old - Specifies that old JDK1.0-style header files should be generated
(otherwise output file contain JNI-style native method
function prototypes) (JDK1.2 only)</li>
<li>stubs - generate C declarations from the Java object file (used with old)</li>
<li>verbose - causes javah to print a message to stdout concerning the status
of the generated files</li>
<li>extdirs - Override location of installed extensions</li>
</ul>
Of these arguments, either <b>outputFile</b> or <b>destdir</b> is required,
but not both. More than one classname may be specified, using a comma-separated
list or by using <code><class name="xxx"></code> elements within the task.
<p>
When this task executes, it will generate C header and source files that
are needed to implement native methods.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested_class_summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>class </code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.ClassArgument.html" title="class in org.apache.tools.ant.taskdefs.optional">Javah.ClassArgument</a></strong></code>
<div class="block">A class corresponding the the nested "class" element.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="fields_inherited_from_class_org.apache.tools.ant.Task">
<!-- -->
</a>
<h3>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></h3>
<code><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></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="fields_inherited_from_class_org.apache.tools.ant.ProjectComponent">
<!-- -->
</a>
<h3>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></h3>
<code><a href="../../../../../../org/apache/tools/ant/ProjectComponent.html#description">description</a>, <a href="../../../../../../org/apache/tools/ant/ProjectComponent.html#location">location</a>, <a href="../../../../../../org/apache/tools/ant/ProjectComponent.html#project">project</a></code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#Javah()">Javah</a></strong>()</code>
<div class="block">No arg constructor.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#add(org.apache.tools.ant.taskdefs.optional.javah.JavahAdapter)">add</a></strong>(<a href="../../../../../../org/apache/tools/ant/taskdefs/optional/javah/JavahAdapter.html" title="interface in org.apache.tools.ant.taskdefs.optional.javah">JavahAdapter</a> adapter)</code>
<div class="block">Set the adapter explicitly.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#addFileSet(org.apache.tools.ant.types.FileSet)">addFileSet</a></strong>(<a href="../../../../../../org/apache/tools/ant/types/FileSet.html" title="class in org.apache.tools.ant.types">FileSet</a> fs)</code>
<div class="block">Add a fileset.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/tools/ant/util/facade/ImplementationSpecificArgument.html" title="class in org.apache.tools.ant.util.facade">ImplementationSpecificArgument</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#createArg()">createArg</a></strong>()</code>
<div class="block">Adds an implementation specific command-line argument.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#createBootclasspath()">createBootclasspath</a></strong>()</code>
<div class="block">Adds path to bootstrap class files.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><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></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#createClass()">createClass</a></strong>()</code>
<div class="block">Adds class to process.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#createClasspath()">createClasspath</a></strong>()</code>
<div class="block">Path to use for classpath.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#createImplementationClasspath()">createImplementationClasspath</a></strong>()</code>
<div class="block">The classpath to use when loading the javah implementation
if it is not a built-in one.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#execute()">execute</a></strong>()</code>
<div class="block">Execute the task</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#getBootclasspath()">getBootclasspath</a></strong>()</code>
<div class="block">The bootclasspath to use.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String[]</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#getClasses()">getClasses</a></strong>()</code>
<div class="block">Names of the classes to process.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#getClasspath()">getClasspath</a></strong>()</code>
<div class="block">The classpath to use.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String[]</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#getCurrentArgs()">getCurrentArgs</a></strong>()</code>
<div class="block">Returns the (implementation specific) settings given as nested
arg elements.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.io.File</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#getDestdir()">getDestdir</a></strong>()</code>
<div class="block">The destination directory, if any.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#getForce()">getForce</a></strong>()</code>
<div class="block">Whether output files should always be written.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#getOld()">getOld</a></strong>()</code>
<div class="block">Whether old JDK1.0-style header files should be generated.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.io.File</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#getOutputfile()">getOutputfile</a></strong>()</code>
<div class="block">The destination file, if any.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#getStubs()">getStubs</a></strong>()</code>
<div class="block">Whether C declarations from the Java object file should be generated.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#getVerbose()">getVerbose</a></strong>()</code>
<div class="block">Whether verbose output should get generated.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#logAndAddFiles(org.apache.tools.ant.types.Commandline)">logAndAddFiles</a></strong>(<a href="../../../../../../org/apache/tools/ant/types/Commandline.html" title="class in org.apache.tools.ant.types">Commandline</a> cmd)</code>
<div class="block">Logs the compilation parameters, adds the files to compile and logs the
"niceSourceList"</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#logAndAddFilesToCompile(org.apache.tools.ant.types.Commandline)">logAndAddFilesToCompile</a></strong>(<a href="../../../../../../org/apache/tools/ant/types/Commandline.html" title="class in org.apache.tools.ant.types">Commandline</a> cmd)</code>
<div class="block">Logs the compilation parameters, adds the files to compile and logs the
"niceSourceList"</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#setBootclasspath(org.apache.tools.ant.types.Path)">setBootclasspath</a></strong>(<a href="../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</a> src)</code>
<div class="block">location of bootstrap class files.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#setBootClasspathRef(org.apache.tools.ant.types.Reference)">setBootClasspathRef</a></strong>(<a href="../../../../../../org/apache/tools/ant/types/Reference.html" title="class in org.apache.tools.ant.types">Reference</a> r)</code>
<div class="block">To the bootstrap path, this adds a reference to a classpath defined elsewhere.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#setClass(java.lang.String)">setClass</a></strong>(java.lang.String cls)</code>
<div class="block">the fully-qualified name of the class (or classes, separated by commas).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#setClasspath(org.apache.tools.ant.types.Path)">setClasspath</a></strong>(<a href="../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</a> src)</code>
<div class="block">the classpath to use.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#setClasspathRef(org.apache.tools.ant.types.Reference)">setClasspathRef</a></strong>(<a href="../../../../../../org/apache/tools/ant/types/Reference.html" title="class in org.apache.tools.ant.types">Reference</a> r)</code>
<div class="block">Adds a reference to a classpath defined elsewhere.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#setDestdir(java.io.File)">setDestdir</a></strong>(java.io.File destDir)</code>
<div class="block">Set the destination directory into which the Java source
files should be compiled.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#setForce(boolean)">setForce</a></strong>(boolean force)</code>
<div class="block">If true, output files should always be written (JDK1.2 only).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#setImplementation(java.lang.String)">setImplementation</a></strong>(java.lang.String impl)</code>
<div class="block">Choose the implementation for this particular task.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#setOld(boolean)">setOld</a></strong>(boolean old)</code>
<div class="block">If true, specifies that old JDK1.0-style header files should be
generated.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#setOutputFile(java.io.File)">setOutputFile</a></strong>(java.io.File outputFile)</code>
<div class="block">Concatenates the resulting header or source files for all
the classes listed into this file.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#setStubs(boolean)">setStubs</a></strong>(boolean stubs)</code>
<div class="block">If true, generate C declarations from the Java object file (used with old).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.html#setVerbose(boolean)">setVerbose</a></strong>(boolean verbose)</code>
<div class="block">If true, causes Javah to print a message concerning
the status of the generated files.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_org.apache.tools.ant.Task">
<!-- -->
</a>
<h3>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></h3>
<code><a href="../../../../../../org/apache/tools/ant/Task.html#bindToOwner(org.apache.tools.ant.Task)">bindToOwner</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#log(java.lang.String, java.lang.Throwable, int)">log</a>, <a href="../../../../../../org/apache/tools/ant/Task.html#log(java.lang.Throwable, 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#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></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_org.apache.tools.ant.ProjectComponent">
<!-- -->
</a>
<h3>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></h3>
<code><a href="../../../../../../org/apache/tools/ant/ProjectComponent.html#clone()">clone</a>, <a href="../../../../../../org/apache/tools/ant/ProjectComponent.html#getDescription()">getDescription</a>, <a href="../../../../../../org/apache/tools/ant/ProjectComponent.html#getLocation()">getLocation</a>, <a href="../../../../../../org/apache/tools/ant/ProjectComponent.html#getProject()">getProject</a>, <a href="../../../../../../org/apache/tools/ant/ProjectComponent.html#setDescription(java.lang.String)">setDescription</a>, <a href="../../../../../../org/apache/tools/ant/ProjectComponent.html#setLocation(org.apache.tools.ant.Location)">setLocation</a>, <a href="../../../../../../org/apache/tools/ant/ProjectComponent.html#setProject(org.apache.tools.ant.Project)">setProject</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class java.lang.Object</h3>
<code>equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="Javah()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>Javah</h4>
<pre>public Javah()</pre>
<div class="block">No arg constructor.</div>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="setClass(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setClass</h4>
<pre>public void setClass(java.lang.String cls)</pre>
<div class="block">the fully-qualified name of the class (or classes, separated by commas).</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cls</code> - the classname (or classnames).</dd></dl>
</li>
</ul>
<a name="createClass()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createClass</h4>
<pre>public <a href="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.ClassArgument.html" title="class in org.apache.tools.ant.taskdefs.optional">Javah.ClassArgument</a> createClass()</pre>
<div class="block">Adds class to process.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>a <code>ClassArgument</code> to be configured.</dd></dl>
</li>
</ul>
<a name="addFileSet(org.apache.tools.ant.types.FileSet)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addFileSet</h4>
<pre>public void addFileSet(<a href="../../../../../../org/apache/tools/ant/types/FileSet.html" title="class in org.apache.tools.ant.types">FileSet</a> fs)</pre>
<div class="block">Add a fileset.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>fs</code> - the fileset to add.</dd></dl>
</li>
</ul>
<a name="getClasses()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getClasses</h4>
<pre>public java.lang.String[] getClasses()</pre>
<div class="block">Names of the classes to process.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the array of classes.</dd><dt><span class="strong">Since:</span></dt>
<dd>Ant 1.6.3</dd></dl>
</li>
</ul>
<a name="setDestdir(java.io.File)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDestdir</h4>
<pre>public void setDestdir(java.io.File destDir)</pre>
<div class="block">Set the destination directory into which the Java source
files should be compiled.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>destDir</code> - the destination directory.</dd></dl>
</li>
</ul>
<a name="getDestdir()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDestdir</h4>
<pre>public java.io.File getDestdir()</pre>
<div class="block">The destination directory, if any.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the destination directory.</dd><dt><span class="strong">Since:</span></dt>
<dd>Ant 1.6.3</dd></dl>
</li>
</ul>
<a name="setClasspath(org.apache.tools.ant.types.Path)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setClasspath</h4>
<pre>public void setClasspath(<a href="../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</a> src)</pre>
<div class="block">the classpath to use.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>src</code> - the classpath.</dd></dl>
</li>
</ul>
<a name="createClasspath()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createClasspath</h4>
<pre>public <a href="../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</a> createClasspath()</pre>
<div class="block">Path to use for classpath.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>a path to be configured.</dd></dl>
</li>
</ul>
<a name="setClasspathRef(org.apache.tools.ant.types.Reference)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setClasspathRef</h4>
<pre>public void setClasspathRef(<a href="../../../../../../org/apache/tools/ant/types/Reference.html" title="class in org.apache.tools.ant.types">Reference</a> r)</pre>
<div class="block">Adds a reference to a classpath defined elsewhere.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>r</code> - a reference to a classpath.</dd><dt><span class="strong">To do:</span></dt>
<dd>this needs to be documented in the HTML docs.</dd></dl>
</li>
</ul>
<a name="getClasspath()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getClasspath</h4>
<pre>public <a href="../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</a> getClasspath()</pre>
<div class="block">The classpath to use.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the classpath.</dd><dt><span class="strong">Since:</span></dt>
<dd>Ant 1.6.3</dd></dl>
</li>
</ul>
<a name="setBootclasspath(org.apache.tools.ant.types.Path)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBootclasspath</h4>
<pre>public void setBootclasspath(<a href="../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</a> src)</pre>
<div class="block">location of bootstrap class files.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>src</code> - the bootstrap classpath.</dd></dl>
</li>
</ul>
<a name="createBootclasspath()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createBootclasspath</h4>
<pre>public <a href="../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</a> createBootclasspath()</pre>
<div class="block">Adds path to bootstrap class files.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>a path to be configured.</dd></dl>
</li>
</ul>
<a name="setBootClasspathRef(org.apache.tools.ant.types.Reference)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBootClasspathRef</h4>
<pre>public void setBootClasspathRef(<a href="../../../../../../org/apache/tools/ant/types/Reference.html" title="class in org.apache.tools.ant.types">Reference</a> r)</pre>
<div class="block">To the bootstrap path, this adds a reference to a classpath defined elsewhere.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>r</code> - a reference to a classpath</dd><dt><span class="strong">To do:</span></dt>
<dd>this needs to be documented in the HTML.</dd></dl>
</li>
</ul>
<a name="getBootclasspath()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBootclasspath</h4>
<pre>public <a href="../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</a> getBootclasspath()</pre>
<div class="block">The bootclasspath to use.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the bootclass path.</dd><dt><span class="strong">Since:</span></dt>
<dd>Ant 1.6.3</dd></dl>
</li>
</ul>
<a name="setOutputFile(java.io.File)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setOutputFile</h4>
<pre>public void setOutputFile(java.io.File outputFile)</pre>
<div class="block">Concatenates the resulting header or source files for all
the classes listed into this file.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>outputFile</code> - the output file.</dd></dl>
</li>
</ul>
<a name="getOutputfile()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOutputfile</h4>
<pre>public java.io.File getOutputfile()</pre>
<div class="block">The destination file, if any.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the destination file.</dd><dt><span class="strong">Since:</span></dt>
<dd>Ant 1.6.3</dd></dl>
</li>
</ul>
<a name="setForce(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setForce</h4>
<pre>public void setForce(boolean force)</pre>
<div class="block">If true, output files should always be written (JDK1.2 only).</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>force</code> - the value to use.</dd></dl>
</li>
</ul>
<a name="getForce()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getForce</h4>
<pre>public boolean getForce()</pre>
<div class="block">Whether output files should always be written.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the force attribute.</dd><dt><span class="strong">Since:</span></dt>
<dd>Ant 1.6.3</dd></dl>
</li>
</ul>
<a name="setOld(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setOld</h4>
<pre>public void setOld(boolean old)</pre>
<div class="block">If true, specifies that old JDK1.0-style header files should be
generated.
(otherwise output file contain JNI-style native method function
prototypes) (JDK1.2 only).</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>old</code> - if true use old 1.0 style header files.</dd></dl>
</li>
</ul>
<a name="getOld()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOld</h4>
<pre>public boolean getOld()</pre>
<div class="block">Whether old JDK1.0-style header files should be generated.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the old attribute.</dd><dt><span class="strong">Since:</span></dt>
<dd>Ant 1.6.3</dd></dl>
</li>
</ul>
<a name="setStubs(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setStubs</h4>
<pre>public void setStubs(boolean stubs)</pre>
<div class="block">If true, generate C declarations from the Java object file (used with old).</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>stubs</code> - if true, generated C declarations.</dd></dl>
</li>
</ul>
<a name="getStubs()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStubs</h4>
<pre>public boolean getStubs()</pre>
<div class="block">Whether C declarations from the Java object file should be generated.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the stubs attribute.</dd><dt><span class="strong">Since:</span></dt>
<dd>Ant 1.6.3</dd></dl>
</li>
</ul>
<a name="setVerbose(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setVerbose</h4>
<pre>public void setVerbose(boolean verbose)</pre>
<div class="block">If true, causes Javah to print a message concerning
the status of the generated files.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>verbose</code> - if true, do verbose printing.</dd></dl>
</li>
</ul>
<a name="getVerbose()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getVerbose</h4>
<pre>public boolean getVerbose()</pre>
<div class="block">Whether verbose output should get generated.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the verbose attribute.</dd><dt><span class="strong">Since:</span></dt>
<dd>Ant 1.6.3</dd></dl>
</li>
</ul>
<a name="setImplementation(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setImplementation</h4>
<pre>public void setImplementation(java.lang.String impl)</pre>
<div class="block">Choose the implementation for this particular task.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>impl</code> - the name of the implemenation.</dd><dt><span class="strong">Since:</span></dt>
<dd>Ant 1.6.3</dd></dl>
</li>
</ul>
<a name="createArg()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createArg</h4>
<pre>public <a href="../../../../../../org/apache/tools/ant/util/facade/ImplementationSpecificArgument.html" title="class in org.apache.tools.ant.util.facade">ImplementationSpecificArgument</a> createArg()</pre>
<div class="block">Adds an implementation specific command-line argument.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>a ImplementationSpecificArgument to be configured.</dd><dt><span class="strong">Since:</span></dt>
<dd>Ant 1.6.3</dd></dl>
</li>
</ul>
<a name="getCurrentArgs()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCurrentArgs</h4>
<pre>public java.lang.String[] getCurrentArgs()</pre>
<div class="block">Returns the (implementation specific) settings given as nested
arg elements.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the arguments.</dd><dt><span class="strong">Since:</span></dt>
<dd>Ant 1.6.3</dd></dl>
</li>
</ul>
<a name="createImplementationClasspath()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createImplementationClasspath</h4>
<pre>public <a href="../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</a> createImplementationClasspath()</pre>
<div class="block">The classpath to use when loading the javah implementation
if it is not a built-in one.</div>
<dl><dt><span class="strong">Since:</span></dt>
<dd>Ant 1.8.0</dd></dl>
</li>
</ul>
<a name="add(org.apache.tools.ant.taskdefs.optional.javah.JavahAdapter)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>add</h4>
<pre>public void add(<a href="../../../../../../org/apache/tools/ant/taskdefs/optional/javah/JavahAdapter.html" title="interface in org.apache.tools.ant.taskdefs.optional.javah">JavahAdapter</a> adapter)</pre>
<div class="block">Set the adapter explicitly.</div>
<dl><dt><span class="strong">Since:</span></dt>
<dd>Ant 1.8.0</dd></dl>
</li>
</ul>
<a name="execute()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>execute</h4>
<pre>public void execute()
throws <a href="../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</a></pre>
<div class="block">Execute the task</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<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></dd>
<dt><span class="strong">Throws:</span></dt>
<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.</dd></dl>
</li>
</ul>
<a name="logAndAddFiles(org.apache.tools.ant.types.Commandline)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>logAndAddFiles</h4>
<pre>public void logAndAddFiles(<a href="../../../../../../org/apache/tools/ant/types/Commandline.html" title="class in org.apache.tools.ant.types">Commandline</a> cmd)</pre>
<div class="block">Logs the compilation parameters, adds the files to compile and logs the
"niceSourceList"</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cmd</code> - the command line.</dd></dl>
</li>
</ul>
<a name="logAndAddFilesToCompile(org.apache.tools.ant.types.Commandline)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>logAndAddFilesToCompile</h4>
<pre>protected void logAndAddFilesToCompile(<a href="../../../../../../org/apache/tools/ant/types/Commandline.html" title="class in org.apache.tools.ant.types">Commandline</a> cmd)</pre>
<div class="block">Logs the compilation parameters, adds the files to compile and logs the
"niceSourceList"</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cmd</code> - the command line to add parameters to.</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../org/apache/tools/ant/taskdefs/optional/EchoProperties.FormatAttribute.html" title="class in org.apache.tools.ant.taskdefs.optional"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../../../org/apache/tools/ant/taskdefs/optional/Javah.ClassArgument.html" title="class in org.apache.tools.ant.taskdefs.optional"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/tools/ant/taskdefs/optional/Javah.html" target="_top">Frames</a></li>
<li><a href="Javah.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary: </li>
<li><a href="#nested_class_summary">Nested</a> | </li>
<li><a href="#fields_inherited_from_class_org.apache.tools.ant.Task">Field</a> | </li>
<li><a href="#constructor_summary">Constr</a> | </li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li>Field | </li>
<li><a href="#constructor_detail">Constr</a> | </li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>