| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory
public final class CompilerAdapterFactory
Creates the necessary compiler adapter, given basic criteria.
| Method Summary | |
|---|---|
| static CompilerAdapter | getCompiler(java.lang.String compilerType,
            Task task)Based on the parameter passed in, this method creates the necessary factory desired. | 
| static CompilerAdapter | getCompiler(java.lang.String compilerType,
            Task task,
            Path classpath)Based on the parameter passed in, this method creates the necessary factory desired. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
|---|
public static CompilerAdapter getCompiler(java.lang.String compilerType,
                                          Task task)
                                   throws BuildException
compilerType - either the name of the desired compiler, or the
 full classname of the compiler's adapter.task - a task to log through.
BuildException - if the compiler type could not be resolved into
 a compiler adapter.
public static CompilerAdapter getCompiler(java.lang.String compilerType,
                                          Task task,
                                          Path classpath)
                                   throws BuildException
compilerType - either the name of the desired compiler, or the
 full classname of the compiler's adapter.task - a task to log through.classpath - the classpath to use when looking up an
 adapter class
BuildException - if the compiler type could not be resolved into
 a compiler adapter.| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||