JavahAdapter (Apache Ant API)
Description: declaration: package: org.apache.tools.ant.taskdefs.optional.javah, interface: JavahAdapter

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

# Interface JavahAdapter

All Known Implementing Classes:
  `ForkingJavah`, `Gcjh`, `Kaffeh`, `SunJavah`

    public interface JavahAdapter

Interface for different backend implementations of the Javah task.

Since:
  Ant 1.6.3

- ## Method Summary

  Modifier and Type | Method | Description
  --- | --- | ---
  `boolean` | `compile​(Javah javah)` | Performs the actual compilation.

- ## Method Details

  - ### compile

    boolean compile​(Javah javah) throws BuildException
    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