Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public static JavahAdapter | Returns: The adapter to use.the user choice (if any). choice, ProjectComponent a ProjectComponent instance used to access Ant's
logging system. log)Creates the JavahAdapter based on the user choice and potentially the VM vendor. |
public static JavahAdapter | Returns: The adapter to use.the user choice (if any). choice, ProjectComponent a ProjectComponent instance used to access Ant's
logging system. log, Path the classpath to use when looking up an
adapter class classpath)Creates the JavahAdapter based on the user choice and potentially the VM vendor. |
public static String | Returns: the default choice of adapter based on the VM vendorDetermines the default choice of adapter based on the VM vendor. |
private static JavahAdapter | resolveClassName(String
The fully qualified classname to be created. className, ClassLoader the classloader to use loader)Tries to resolve the given classname into a javah adapter. |
JavahAdapterFactory | back to summary |
---|---|
public JavahAdapterFactory() |
getAdapter | back to summary |
---|---|
public static JavahAdapter getAdapter(String choice, ProjectComponent log) throws BuildException Creates the JavahAdapter based on the user choice and potentially the VM vendor.
|
getAdapter | back to summary |
---|---|
public static JavahAdapter getAdapter(String choice, ProjectComponent log, Path classpath) throws BuildException Creates the JavahAdapter based on the user choice and potentially the VM vendor.
|
getDefault | back to summary |
---|---|
public static String getDefault() Determines the default choice of adapter based on the VM vendor.
|
resolveClassName | back to summary |
---|---|
private static JavahAdapter resolveClassName(String className, ClassLoader loader) throws BuildException Tries to resolve the given classname into a javah adapter. Throws a fit if it can't.
|