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

Class SunJavah

public class SunJavah extends Object implements JavahAdapter

Adapter to com.sun.tools.javah.oldjavah.Main or com.sun.tools.javah.Main.

Since: Ant 1.6.3

Field Summary
static StringIMPLEMENTATION_NAME
the name of the javah adapter - sun
Method Summary
booleancompile(Javah javah)
Performs the actual compilation.

Field Detail

IMPLEMENTATION_NAME

public static final String IMPLEMENTATION_NAME
the name of the javah adapter - sun

Method Detail

compile

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

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