public class CSharpCompiler extends AbstractCompiler
EOL, PS
Constructor and Description |
---|
CSharpCompiler() |
Modifier and Type | Method and Description |
---|---|
boolean |
canUpdateTarget(CompilerConfiguration configuration) |
List<CompilerError> |
compile(CompilerConfiguration config) |
String[] |
createCommandLine(CompilerConfiguration config)
Create the command line that would be executed using this configuration.
|
String |
getOutputFile(CompilerConfiguration configuration) |
protected static String[] |
getSourceFiles(CompilerConfiguration config) |
protected static Set<String> |
getSourceFilesForSourceRoot(CompilerConfiguration config,
String sourceLocation) |
static List<CompilerError> |
parseCompilerOutput(BufferedReader bufferedReader) |
static CompilerError |
parseLine(String line)
Deprecated.
|
getCompilerOutputStyle, getInputFileEnding, getOutputFileEnding, getPathString, makeClassName, toStringArray
public boolean canUpdateTarget(CompilerConfiguration configuration) throws CompilerException
canUpdateTarget
in interface Compiler
canUpdateTarget
in class AbstractCompiler
CompilerException
public String getOutputFile(CompilerConfiguration configuration) throws CompilerException
getOutputFile
in interface Compiler
getOutputFile
in class AbstractCompiler
CompilerException
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 List<CompilerError> parseCompilerOutput(BufferedReader bufferedReader) throws IOException
IOException
protected static String[] getSourceFiles(CompilerConfiguration config)
public static CompilerError parseLine(String line)
protected static Set<String> getSourceFilesForSourceRoot(CompilerConfiguration config, String sourceLocation)
Copyright © 2014. All rights reserved.