Class MavenConsoleAnnotator

All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class MavenConsoleAnnotator extends LineTransformationOutputStream.Delegating
Filter OutputStream that places annotations that marks various Maven outputs.
Author:
Kohsuke Kawaguchi
  • Constructor Details

  • Method Details

    • eol

      protected void eol(byte[] b, int len) throws IOException
      Description copied from class: LineTransformationOutputStream
      Called for each end of the line.
      Specified by:
      eol in class LineTransformationOutputStream
      Parameters:
      b - Contents of the whole line, including the EOL code like CR/LF.
      len - Specifies the length of the valid contents in 'b'. The rest is garbage. This is so that the caller doesn't have to allocate an array of the exact size.
      Throws:
      IOException