org.codehaus.plexus.compiler.csharp
Class CSharpCompiler

java.lang.Object
  extended by AbstractCompiler
      extended by org.codehaus.plexus.compiler.csharp.CSharpCompiler

public class CSharpCompiler
extends AbstractCompiler

Version:
$Id: CSharpCompiler.java 4626 2006-11-10 07:56:21Z brett $
Author:
Gilles Dodinet, Trygve Laugstøl, Matthew Pocock, Chris Stevenson

Constructor Summary
CSharpCompiler()
           
 
Method Summary
 boolean canUpdateTarget(CompilerConfiguration configuration)
           
 java.util.List compile(CompilerConfiguration config)
           
 java.lang.String[] createCommandLine(CompilerConfiguration config)
           
 java.lang.String getOutputFile(CompilerConfiguration configuration)
           
protected static java.lang.String[] getSourceFiles(CompilerConfiguration config)
           
protected static java.util.Set getSourceFilesForSourceRoot(CompilerConfiguration config, java.lang.String sourceLocation)
           
static java.util.List parseCompilerOutput(java.io.BufferedReader bufferedReader)
           
static CompilerError parseLine(java.lang.String line)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CSharpCompiler

public CSharpCompiler()
Method Detail

canUpdateTarget

public boolean canUpdateTarget(CompilerConfiguration configuration)
                        throws CompilerException
Throws:
CompilerException

getOutputFile

public java.lang.String getOutputFile(CompilerConfiguration configuration)
                               throws CompilerException
Throws:
CompilerException

compile

public java.util.List compile(CompilerConfiguration config)
                       throws CompilerException
Throws:
CompilerException

createCommandLine

public java.lang.String[] createCommandLine(CompilerConfiguration config)
                                     throws CompilerException
Throws:
CompilerException

parseCompilerOutput

public static java.util.List parseCompilerOutput(java.io.BufferedReader bufferedReader)
                                          throws java.io.IOException
Throws:
java.io.IOException

getSourceFiles

protected static java.lang.String[] getSourceFiles(CompilerConfiguration config)

parseLine

public static CompilerError parseLine(java.lang.String line)
Deprecated. 

This method is just here to maintain the public api. This is now handled in the parse compiler output function.


getSourceFilesForSourceRoot

protected static java.util.Set getSourceFilesForSourceRoot(CompilerConfiguration config,
                                                           java.lang.String sourceLocation)