AbstractCompiler
, CSharpCompiler
, EclipseJavaCompiler
, J2ObjCCompiler
, JavacCompiler
, JikesCompiler
public interface Compiler
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
ROLE |
Modifier and Type | Method | Description |
---|---|---|
boolean |
canUpdateTarget(CompilerConfiguration configuration) |
|
java.util.List<CompilerError> |
compile(CompilerConfiguration configuration) |
Deprecated.
|
java.lang.String[] |
createCommandLine(CompilerConfiguration config) |
Create the command line that would be executed using this configuration.
|
CompilerOutputStyle |
getCompilerOutputStyle() |
|
java.lang.String |
getInputFileEnding(CompilerConfiguration configuration) |
|
java.lang.String |
getOutputFile(CompilerConfiguration configuration) |
|
java.lang.String |
getOutputFileEnding(CompilerConfiguration configuration) |
|
CompilerResult |
performCompile(CompilerConfiguration configuration) |
Performs the compilation of the project.
|
CompilerOutputStyle getCompilerOutputStyle()
java.lang.String getInputFileEnding(CompilerConfiguration configuration) throws CompilerException
CompilerException
java.lang.String getOutputFileEnding(CompilerConfiguration configuration) throws CompilerException
CompilerException
java.lang.String getOutputFile(CompilerConfiguration configuration) throws CompilerException
CompilerException
boolean canUpdateTarget(CompilerConfiguration configuration) throws CompilerException
CompilerException
CompilerResult performCompile(CompilerConfiguration configuration) throws CompilerException
configuration
- the configuration description of the compilation
to performCompilerException
@Deprecated java.util.List<CompilerError> compile(CompilerConfiguration configuration) throws CompilerException
performCompile(CompilerConfiguration)
instead.configuration
- the configuration description of the compilation
to performCompilerException
java.lang.String[] createCommandLine(CompilerConfiguration config) throws CompilerException
config
- the CompilerConfiguration describing the compilationCompilerException
- if there was an error generating the command
lineCopyright © 2018. All rights reserved.