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

Class JavahAdapterFactory

public class JavahAdapterFactory extends Object

Creates the JavahAdapter based on the user choice and potentially the VM vendor.

Since: Ant 1.6.3

Method Summary
static JavahAdaptergetAdapter(String choice, ProjectComponent log)
Creates the JavahAdapter based on the user choice and potentially the VM vendor.
static StringgetDefault()
Determines the default choice of adapter based on the VM vendor.

Method Detail

getAdapter

public static JavahAdapter getAdapter(String choice, ProjectComponent log)
Creates the JavahAdapter based on the user choice and potentially the VM vendor.

Parameters: choice the user choice (if any). log a ProjectComponent instance used to access Ant's logging system.

Returns: The adapter to use.

getDefault

public static String getDefault()
Determines the default choice of adapter based on the VM vendor.

Returns: the default choice of adapter based on the VM vendor

Copyright