|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The VirtualCompiler
interface abstracts an object
which is capable of compiling CompilationUnit
objects.
Method Summary | |
void |
addClasspath(java.lang.String value)
Adds the string to the list of classpaths. |
void |
addOption(java.lang.String name)
Adds a boolean option with the given name. |
void |
addOption(java.lang.String name,
java.lang.String value)
Adds an option with the given name and value. |
void |
addSourcepath(java.lang.String val)
Adds the string to the list of sourcepaths. |
boolean |
compile(CompilationUnit unit)
Generates the source code file and compiles the result. |
Iterator |
getClasspaths()
Gets the classpath settings as an iterator of String . |
java.lang.String |
getDestination()
Gets the base destination where new classes should be written. |
Iterator |
getOptions()
Gets the sourcepath settings as an iterator of String . |
Iterator |
getSourcepaths()
Gets the sourcepath settings as an iterator of String . |
void |
setDestination(java.lang.String dst)
Sets the base destination where new classes should be written. |
Method Detail |
public boolean compile(CompilationUnit unit) throws java.io.IOException
public Iterator getClasspaths()
String
.public Iterator getSourcepaths()
String
.public Iterator getOptions()
String
.public void addClasspath(java.lang.String value)
public void addSourcepath(java.lang.String val)
public void addOption(java.lang.String name, java.lang.String value)
public void addOption(java.lang.String name)
public java.lang.String getDestination()
public void setDestination(java.lang.String dst)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |