org.apache.tools.ant.taskdefs.rmic
public final class RmicAdapterFactory extends Object
Since: 1.4
Field Summary | |
---|---|
static String | DEFAULT_COMPILER If the compiler has this name use a default compiler. |
static String | ERROR_NOT_RMIC_ADAPTER The error message to be used when the class is not an rmic adapter. |
static String | ERROR_UNKNOWN_COMPILER The error message to be used when the compiler cannot be found. |
Method Summary | |
---|---|
static RmicAdapter | getRmic(String rmicType, Task task)
Based on the parameter passed in, this method creates the necessary
factory desired.
|
static RmicAdapter | getRmic(String rmicType, Task task, Path classpath)
Based on the parameter passed in, this method creates the necessary
factory desired.
|
The current mapping for rmic names are as follows:
Parameters: rmicType either the name of the desired rmic, or the full classname of the rmic's adapter. task a task to log through.
Returns: the compiler adapter
Throws: BuildException if the rmic type could not be resolved into a rmic adapter.
The current mapping for rmic names are as follows:
Parameters: 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
Returns: the compiler adapter
Throws: BuildException if the rmic type could not be resolved into a rmic adapter.
Since: Ant 1.8.0