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, writeflush, writepublic MavenConsoleAnnotator(OutputStream out, Charset charset)
protected void eol(byte[] b,
int len)
throws IOException
LineTransformationOutputStreameol in class LineTransformationOutputStreamb - 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.IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class LineTransformationOutputStreamIOExceptionCopyright © 2019. All rights reserved.