org.apache.tools.ant.taskdefs.optional.javahClass ForkingJavah
- java.lang.Object
- org.apache.tools.ant.taskdefs.optional.javah.ForkingJavah
- All Implemented Interfaces:
- JavahAdapter
public class ForkingJavah extends java.lang.Object implements JavahAdapterThis implementation runs the javah executable in a separate process.
- Since:
- Ant 1.9.8
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
IMPLEMENTATION_NAME
the name of this adapter for users to select
Constructor Summary
Constructors Constructor and Description ForkingJavah()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description boolean
compile(Javah javah)
Performs the actual compilation.
Field Detail
IMPLEMENTATION_NAME
public static final java.lang.String IMPLEMENTATION_NAMEthe name of this adapter for users to select
- See Also:
- Constant Field Values
Method Detail
compile
public boolean compile(Javah javah) throws BuildExceptionPerforms the actual compilation.
- Specified by:
compile
in interfaceJavahAdapter
- Parameters:
javah
- the calling javah task.- Returns:
- true if the compilation was successful.
- Throws:
BuildException
- if there is an error.