hudson.plugins.msbuild
Class MsBuildConsoleParser

java.lang.Object
  extended by java.io.OutputStream
      extended by hudson.console.LineTransformationOutputStream
          extended by hudson.plugins.msbuild.MsBuildConsoleParser
All Implemented Interfaces:
Closeable, Flushable

public class MsBuildConsoleParser
extends hudson.console.LineTransformationOutputStream

Parser to find the number of Warnings/Errors of MsBuild compilation

Author:
Damien Finck

Constructor Summary
MsBuildConsoleParser(OutputStream out, Charset charset)
           
 
Method Summary
 void close()
           
protected  void eol(byte[] b, int len)
           
 int getNumberOfErrors()
           
 int getNumberOfWarnings()
           
 
Methods inherited from class hudson.console.LineTransformationOutputStream
forceEol, trimEOL, write, write
 
Methods inherited from class java.io.OutputStream
flush, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MsBuildConsoleParser

public MsBuildConsoleParser(OutputStream out,
                            Charset charset)
Method Detail

getNumberOfWarnings

public int getNumberOfWarnings()

getNumberOfErrors

public int getNumberOfErrors()

eol

protected void eol(byte[] b,
                   int len)
            throws IOException
Specified by:
eol in class hudson.console.LineTransformationOutputStream
Throws:
IOException

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Overrides:
close in class hudson.console.LineTransformationOutputStream
Throws:
IOException


Copyright © 2004-2013. All Rights Reserved.