public class MavenConsoleAnnotator extends LineTransformationOutputStream.Delegating
OutputStream
that places annotations that marks various Maven outputs.LineTransformationOutputStream.Delegating
out
Constructor and Description |
---|
MavenConsoleAnnotator(OutputStream out,
Charset charset) |
Modifier and Type | Method and Description |
---|---|
protected void |
eol(byte[] b,
int len)
Called for each end of the line.
|
close, flush
forceEol, trimEOL, write, write
write
public MavenConsoleAnnotator(OutputStream out, Charset charset)
protected void eol(byte[] b, int len) throws IOException
LineTransformationOutputStream
eol
in class LineTransformationOutputStream
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.IOException
Copyright © 2004–2022. All rights reserved.