org.apache.tools.ant.taskdefs.optional.javah
Class MyJavah

java.lang.Object
  extended by org.apache.tools.ant.taskdefs.optional.javah.MyJavah
All Implemented Interfaces:
JavahAdapter

public class MyJavah
extends java.lang.Object
implements JavahAdapter

Adapter to the native javah compiler.

Since:
Ant 1.6.3

Field Summary
static java.lang.String IMPLEMENTATION_NAME
          the name of the javah adapter - javah
 
Constructor Summary
MyJavah()
           
 
Method Summary
 boolean compile(Javah javah)
          Performs the actual compilation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IMPLEMENTATION_NAME

public static final java.lang.String IMPLEMENTATION_NAME
the name of the javah adapter - javah

See Also:
Constant Field Values
Constructor Detail

MyJavah

public MyJavah()
Method Detail

compile

public boolean compile(Javah javah)
                throws BuildException
Performs the actual compilation.

Specified by:
compile in interface JavahAdapter
Parameters:
javah - the calling javah task.
Returns:
true if the compilation was successful.
Throws:
BuildException - if there is an error.
Since:
Ant 1.6.3