Top Description Methods
org.apache.tools.ant.taskdefs.rmic

public Interface RmicAdapter

Known Direct Implementers
org.apache.tools.ant.taskdefs.rmic.DefaultRmicAdapter
Imports
org.apache.tools.ant.BuildException, org.apache.tools.ant.taskdefs.Rmic, org.apache.tools.ant.types.Path, org.apache.tools.ant.util.FileNameMapper

The interface that all rmic adapters must adhere to.

A rmic adapter is an adapter that interprets the rmic's parameters in preparation 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

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true if has the compilation been successful
execute
()

Call the rmic compiler.

public Path

Returns:

the classpath this rmic process will use
getClasspath
()

The CLASSPATH this rmic process will use.

public FileNameMapper

Returns:

the filename mapper used by this implementation
getMapper
()

Maps source class files to the files generated by this rmic implementation.

public void
setRmic(Rmic
the rmic attributes to use
attributes
)

Sets the rmic attributes, which are stored in the Rmic task.

Method Detail

executeback to summary
public boolean execute() throws BuildException

Call the rmic compiler.

Returns:boolean

true if has the compilation been successful

Exceptions
BuildException:
on error
getClasspathback to summary
public Path getClasspath()

The CLASSPATH this rmic process will use.

Returns:Path

the classpath this rmic process will use

getMapperback to summary
public FileNameMapper getMapper()

Maps source class files to the files generated by this rmic implementation.

Returns:FileNameMapper

the filename mapper used by this implementation

setRmicback to summary
public void setRmic(Rmic attributes)

Sets the rmic attributes, which are stored in the Rmic task.

Parameters
attributes:Rmic

the rmic attributes to use