public class JavacCompiler extends AbstractCompiler
EOL, PS
Constructor and Description |
---|
JavacCompiler() |
Modifier and Type | Method and Description |
---|---|
static String[] |
buildCompilerArguments(CompilerConfiguration config,
String[] sourceFiles) |
List<CompilerError> |
compile(CompilerConfiguration config) |
String[] |
createCommandLine(CompilerConfiguration config)
Create the command line that would be executed using this configuration.
|
canUpdateTarget, getCompilerOutputStyle, getInputFileEnding, getOutputFile, getOutputFileEnding, getPathString, getSourceFiles, getSourceFilesForSourceRoot, makeClassName, toStringArray
public List<CompilerError> compile(CompilerConfiguration config) throws CompilerException
CompilerException
public String[] createCommandLine(CompilerConfiguration config) throws CompilerException
Compiler
config
- the CompilerConfiguration describing the
compilationCompilerException
- if there was an error generating the command
linepublic static String[] buildCompilerArguments(CompilerConfiguration config, String[] sourceFiles)
Copyright © 2001-2013 Codehaus. All Rights Reserved.