| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.taskdefs.optional.javah.JavahAdapterFactory
public class JavahAdapterFactory
Creates the JavahAdapter based on the user choice and potentially the VM vendor.
| Constructor Summary | |
|---|---|
| JavahAdapterFactory() | |
| Method Summary | |
|---|---|
| static JavahAdapter | getAdapter(java.lang.String choice,
           ProjectComponent log)Creates the JavahAdapter based on the user choice and potentially the VM vendor. | 
| static JavahAdapter | getAdapter(java.lang.String choice,
           ProjectComponent log,
           Path classpath)Creates the JavahAdapter based on the user choice and potentially the VM vendor. | 
| static java.lang.String | getDefault()Determines the default choice of adapter based on the VM vendor. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public JavahAdapterFactory()
| Method Detail | 
|---|
public static java.lang.String getDefault()
public static JavahAdapter getAdapter(java.lang.String choice,
                                      ProjectComponent log)
                               throws BuildException
choice - the user choice (if any).log - a ProjectComponent instance used to access Ant's
 logging system.
BuildException - if there is an error.
public static JavahAdapter getAdapter(java.lang.String choice,
                                      ProjectComponent log,
                                      Path classpath)
                               throws BuildException
choice - the user choice (if any).log - a ProjectComponent instance used to access Ant's
 logging system.classpath - the classpath to use when looking up an
 adapter class
BuildException - if there is an error.| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||