Modifier and Type | Field and Description |
---|---|
public static final String | DEFAULT_COMPILER
If the compiler has this name use a default compiler. |
public static final String | ERROR_NOT_RMIC_ADAPTER
The error message to be used when the class is not an rmic adapter. |
public static final String | ERROR_UNKNOWN_COMPILER
The error message to be used when the compiler cannot be found. |
Access | Constructor and Description |
---|---|
private |
Modifier and Type | Method and Description |
---|---|
public static RmicAdapter | |
public static RmicAdapter | Returns: the compiler adaptereither the name of the desired rmic, or the
full classname of the rmic's adapter. rmicType, Task a task to log through. task, Path the classpath to use when looking up an
adapter class classpath)Based on the parameter passed in, this method creates the necessary factory desired. |
private static RmicAdapter | resolveClassName(String
The fully qualified classname to be created. className, ClassLoader the classloader to use loader)Tries to resolve the given classname into a rmic adapter. |
DEFAULT_COMPILER | back to summary |
---|---|
public static final String DEFAULT_COMPILER If the compiler has this name use a default compiler. |
ERROR_NOT_RMIC_ADAPTER | back to summary |
---|---|
public static final String ERROR_NOT_RMIC_ADAPTER The error message to be used when the class is not an rmic adapter. |
ERROR_UNKNOWN_COMPILER | back to summary |
---|---|
public static final String ERROR_UNKNOWN_COMPILER The error message to be used when the compiler cannot be found. |
RmicAdapterFactory | back to summary |
---|---|
private RmicAdapterFactory() This is a singleton -- can't create instances!! |
getRmic | back to summary |
---|---|
public static RmicAdapter getRmic(String rmicType, Task task) throws BuildException Based on the parameter passed in, this method creates the necessary factory desired. The current mapping for rmic names are as follows:
|
getRmic | back to summary |
---|---|
public static RmicAdapter getRmic(String rmicType, Task task, Path classpath) throws BuildException Based on the parameter passed in, this method creates the necessary factory desired. The current mapping for rmic names are as follows:
|
resolveClassName | back to summary |
---|---|
private static RmicAdapter resolveClassName(String className, ClassLoader loader) throws BuildException Tries to resolve the given classname into a rmic adapter. Throws a fit if it can't.
|