public class JavacCompiler extends AbstractCompiler
EOL, PS
Constructor and Description |
---|
JavacCompiler() |
Modifier and Type | Method and Description |
---|---|
static String[] |
buildCompilerArguments(CompilerConfiguration config,
String[] sourceFiles) |
String[] |
createCommandLine(CompilerConfiguration config)
Create the command line that would be executed using this configuration.
|
protected static boolean |
isJava16() |
CompilerResult |
performCompile(CompilerConfiguration config)
Performs the compilation of the project.
|
canUpdateTarget, compile, getCompilerOutputStyle, getInputFileEnding, getOutputFile, getOutputFileEnding, getPathString, getSourceFiles, getSourceFilesForSourceRoot, makeClassName, toStringArray
public CompilerResult performCompile(CompilerConfiguration config) throws CompilerException
Compiler
performCompile
in interface Compiler
performCompile
in class AbstractCompiler
config
- the configuration description of the compilation
to performCompilerException
protected static boolean isJava16()
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-2014 Codehaus. All Rights Reserved.