hudson.tasks._ant
Class AntConsoleAnnotator

java.lang.Object
  extended by java.io.OutputStream
      extended by hudson.console.LineTransformationOutputStream
          extended by hudson.tasks._ant.AntConsoleAnnotator
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable

public class AntConsoleAnnotator
extends hudson.console.LineTransformationOutputStream

Filter OutputStream that places an annotation that marks Ant target execution.

Author:
Kohsuke Kawaguchi

Constructor Summary
AntConsoleAnnotator(java.io.OutputStream out, java.nio.charset.Charset charset)
           
 
Method Summary
 void close()
           
protected  void eol(byte[] b, int len)
           
 
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

AntConsoleAnnotator

public AntConsoleAnnotator(java.io.OutputStream out,
                           java.nio.charset.Charset charset)
Method Detail

eol

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

close

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


Copyright © 2004-2011. All Rights Reserved.