|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.sling.commons.compiler.impl.EclipseJavaCompiler
@Service(value=JavaCompiler.class) public class EclipseJavaCompiler
The EclipseJavaCompiler
provides platform independant
Java compilation support using the Eclipse Java Compiler (org.eclipse.jdt).
Constructor Summary | |
---|---|
EclipseJavaCompiler()
|
Method Summary | |
---|---|
CompilationResult |
compile(CompilationUnit[] units,
Options compileOptions)
Compile the compilation units. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EclipseJavaCompiler()
Method Detail |
---|
public CompilationResult compile(CompilationUnit[] units, Options compileOptions)
JavaCompiler
compile
in interface JavaCompiler
units
- The compilation units.compileOptions
- The compilation options - this object is optional
JavaCompiler.compile(org.apache.sling.commons.compiler.CompilationUnit[], org.apache.sling.commons.compiler.Options)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |