| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.taskdefs.rmic.RmicAdapterFactory
public final class RmicAdapterFactory
Creates the necessary rmic adapter, given basic criteria.
| Field Summary | |
|---|---|
| static java.lang.String | DEFAULT_COMPILERIf the compiler has this name use a default compiler. | 
| static java.lang.String | ERROR_NOT_RMIC_ADAPTERThe error message to be used when the class is not an rmic adapter. | 
| static java.lang.String | ERROR_UNKNOWN_COMPILERThe error message to be used when the compiler cannot be found. | 
| Method Summary | |
|---|---|
| static RmicAdapter | getRmic(java.lang.String rmicType,
        Task task)Based on the parameter passed in, this method creates the necessary factory desired. | 
| static RmicAdapter | getRmic(java.lang.String rmicType,
        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 | 
| Field Detail | 
|---|
public static final java.lang.String ERROR_UNKNOWN_COMPILER
public static final java.lang.String ERROR_NOT_RMIC_ADAPTER
public static final java.lang.String DEFAULT_COMPILER
| Method Detail | 
|---|
public static RmicAdapter getRmic(java.lang.String rmicType,
                                  Task task)
                           throws BuildException
The current mapping for rmic names are as follows:
rmicType - either the name of the desired rmic, or the
 full classname of the rmic's adapter.task - a task to log through.
BuildException - if the rmic type could not be resolved into
 a rmic adapter.
public static RmicAdapter getRmic(java.lang.String rmicType,
                                  Task task,
                                  Path classpath)
                           throws BuildException
The current mapping for rmic names are as follows:
rmicType - either the name of the desired rmic, or the
 full classname of the rmic's adapter.task - a task to log through.classpath - the classpath to use when looking up an
 adapter class
BuildException - if the rmic type could not be resolved into
 a rmic adapter.| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||