|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.plexus.logging.AbstractLogEnabled
org.codehaus.plexus.compiler.AbstractCompiler
org.codehaus.plexus.compiler.javac.JavacCompiler
public class JavacCompiler
Field Summary |
---|
Fields inherited from class org.codehaus.plexus.compiler.AbstractCompiler |
---|
EOL, PS |
Fields inherited from interface org.codehaus.plexus.compiler.Compiler |
---|
ROLE |
Constructor Summary | |
---|---|
JavacCompiler()
|
Method Summary | |
---|---|
static java.lang.String[] |
buildCompilerArguments(CompilerConfiguration config,
java.lang.String[] sourceFiles)
|
java.util.List |
compile(CompilerConfiguration config)
|
java.lang.String[] |
createCommandLine(CompilerConfiguration config)
Create the command line that would be executed using this configuration. |
Methods inherited from class org.codehaus.plexus.compiler.AbstractCompiler |
---|
canUpdateTarget, getCompilerOutputStyle, getInputFileEnding, getOutputFile, getOutputFileEnding, getPathString, getSourceFiles, getSourceFilesForSourceRoot, makeClassName, toStringArray |
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled |
---|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JavacCompiler()
Method Detail |
---|
public java.util.List compile(CompilerConfiguration config) throws CompilerException
CompilerException
public java.lang.String[] createCommandLine(CompilerConfiguration config) throws CompilerException
Compiler
config
- the CompilerConfiguration describing the
compilation
CompilerException
- if there was an error generating the command
linepublic static java.lang.String[] buildCompilerArguments(CompilerConfiguration config, java.lang.String[] sourceFiles)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |