org.apache.tools.ant.taskdefs.optional.javahClass SunJavah
- java.lang.Object
- org.apache.tools.ant.taskdefs.optional.javah.SunJavah
- All Implemented Interfaces:
- JavahAdapter
public class SunJavah extends java.lang.Object implements JavahAdapterAdapter to com.sun.tools.javah.oldjavah.Main or com.sun.tools.javah.Main.
- Since:
- Ant 1.6.3
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
IMPLEMENTATION_NAME
the name of the javah adapter - sun
Constructor Summary
Constructors Constructor and Description SunJavah()
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 the javah adapter - sun
- 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.- Since:
- Ant 1.6.3