|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.avalon.framework.logger.AbstractLoggable | +--org.apache.cocoon.components.language.programming.java.AbstractJavaCompiler | +--org.apache.cocoon.components.language.programming.java.Javac | +--org.apache.cocoon.components.language.programming.java.Pizza
This class wraps the Pizza Java Compiler.
Field Summary | |
static java.lang.String |
PIZZA_CLASS
|
Fields inherited from class org.apache.cocoon.components.language.programming.java.Javac |
CLASSIC_CLASS, MODERN_CLASS |
Fields inherited from class org.apache.cocoon.components.language.programming.java.AbstractJavaCompiler |
classpath, destDir, encoding, errors, file, srcDir |
Constructor Summary | |
Pizza()
|
Method Summary | |
boolean |
compile()
Compile a source file yielding a loadable class file. |
java.lang.String |
toString()
|
Methods inherited from class org.apache.cocoon.components.language.programming.java.Javac |
parseClassicStream, parseModernStream, parseStream |
Methods inherited from class org.apache.cocoon.components.language.programming.java.AbstractJavaCompiler |
fillArguments, getErrors, recycle, setClasspath, setDestination, setEncoding, setFile, setSource, toStringArray |
Methods inherited from class org.apache.avalon.framework.logger.AbstractLoggable |
getLogger, setLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String PIZZA_CLASS
Constructor Detail |
public Pizza()
Method Detail |
public boolean compile() throws java.io.IOException
compile
in class Javac
filename
- The object program base file namebaseDirectory
- The directory containing the object program fileencoding
- The encoding expected in the source file or
null
if it is the platform's default encodingLanguageException
- If an error occurs during compilationpublic java.lang.String toString()
toString
in class Javac
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |