class JJDoc.MojoLogStreamConsumer
extends java.lang.Object
implements org.codehaus.plexus.util.cli.StreamConsumer
Modifier and Type | Field and Description |
---|---|
private boolean |
err
Determines if the stream consumer is being used for
System.out or System.err . |
private static java.lang.String |
ERROR_PREFIX
The line prefix used by JJDoc to report errors.
|
private static java.lang.String |
WARN_PREFIX
The line prefix used by JJDoc to report warnings.
|
Constructor and Description |
---|
MojoLogStreamConsumer(boolean error)
Single param constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
consumeLine(java.lang.String line)
Consume a line of text.
|
private static final java.lang.String ERROR_PREFIX
private static final java.lang.String WARN_PREFIX
private boolean err
System.out
or System.err
.