FileDocCategorySizeDatePackage
RmicAdapter.javaAPI DocApache Ant 1.702232Wed Dec 13 06:16:20 GMT 2006org.apache.tools.ant.taskdefs.rmic

RmicAdapter

public interface RmicAdapter
The interface that all rmic adapters must adhere 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).

since
Ant 1.4

Fields Summary
Constructors Summary
Methods Summary
public booleanexecute()
Call the rmic compiler.

return
true if has the compilation been successful
throws
BuildException on error

public org.apache.tools.ant.types.PathgetClasspath()
The CLASSPATH this rmic process will use.

return
the classpaht this rmic process will use

public org.apache.tools.ant.util.FileNameMappergetMapper()
Maps source class files to the files generated by this rmic implementation.

return
the filename mapper used by this implementation

public voidsetRmic(org.apache.tools.ant.taskdefs.Rmic attributes)
Sets the rmic attributes, which are stored in the Rmic task.

param
attributes the rmic attributes to use