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