Top Description Fields Constructors Methods
org.apache.tools.ant.taskdefs.optional.javah

public Class SunJavah

extends Object
implements JavahAdapter
Class Inheritance
All Implemented Interfaces
org.apache.tools.ant.taskdefs.optional.javah.JavahAdapter
Imports
java.io.File, org.apache.tools.ant.BuildException, org.apache.tools.ant.launch.Locator, org.apache.tools.ant.taskdefs.ExecuteJava, org.apache.tools.ant.taskdefs.optional.Javah, org.apache.tools.ant.types.Commandline, .Path

Adapter to com.sun.tools.javah.oldjavah.Main or com.sun.tools.javah.Main.
Since
Ant 1.6.3

Field Summary

Modifier and TypeField and Description
public static final String
IMPLEMENTATION_NAME

the name of the javah adapter - sun

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true if the compilation was successful.
compile
(Javah
the calling javah task.
javah
)

Implements org.apache.tools.ant.taskdefs.optional.javah.JavahAdapter.compile.

Performs the actual compilation.
pack-priv static Commandline
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

IMPLEMENTATION_NAMEback to summary
public static final String IMPLEMENTATION_NAME

the name of the javah adapter - sun

Constructor Detail

SunJavahback to summary
public SunJavah()

Method Detail

compileback to summary
public boolean compile(Javah javah) throws BuildException

Implements org.apache.tools.ant.taskdefs.optional.javah.JavahAdapter.compile.

Performs the actual compilation.

Parameters
javah:Javah

the calling javah task.

Returns:boolean

true if the compilation was successful.

Annotations
@Override
Exceptions
BuildException:
if there is an error.
Since
Ant 1.6.3
setupJavahCommandback to summary
pack-priv static Commandline setupJavahCommand(Javah javah)