org.apache.tools.ant.taskdefs.rmic
Interface RmicAdapter
- DefaultRmicAdapter, KaffeRmic, SunRmic, WLRmic
public interface RmicAdapter
The interface that all rmic adapters must adher to.
A rmic adapter is an adapter that interprets the rmic's
parameters in preperation to be passed off to the compiler this
adapter represents. As all the necessary values are stored in the
Rmic task itself, the only thing all adapters need is the rmic
task, the execute command and a parameterless constructor (for
reflection).
boolean | execute() - Executes the task.
|
Path | getClasspath() - The CLASSPATH this rmic process will use.
|
FileNameMapper | getMapper() - Maps source class files to the files generated by this rmic
implementation.
|
void | setRmic(Rmic attributes) - Sets the rmic attributes, which are stored in the Rmic task.
|
execute
public boolean execute()
throws BuildException
Executes the task.
- has the compilation been successful
getClasspath
public Path getClasspath()
The CLASSPATH this rmic process will use.
getMapper
public FileNameMapper getMapper()
Maps source class files to the files generated by this rmic
implementation.
setRmic
public void setRmic(Rmic attributes)
Sets the rmic attributes, which are stored in the Rmic task.
Copyright B) 2000-2007 Apache Software Foundation. All Rights Reserved.