Package org.codehaus.mojo.javacc
Class JTB.MojoLogStreamConsumer
- java.lang.Object
-
- org.codehaus.mojo.javacc.JTB.MojoLogStreamConsumer
-
- All Implemented Interfaces:
org.codehaus.plexus.util.cli.StreamConsumer
- Enclosing class:
- JTB
class JTB.MojoLogStreamConsumer extends java.lang.Object implements org.codehaus.plexus.util.cli.StreamConsumer
Consume and log command line output from the JJDoc process.
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
err
Determines if the stream consumer is being used forSystem.out
orSystem.err
.private static java.lang.String
INFO_PREFIX
The line prefix used by JTB to report infos.
-
Constructor Summary
Constructors Constructor Description MojoLogStreamConsumer(boolean error)
Single param constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
consumeLine(java.lang.String line)
Consume a line of text.
-
-
-
Field Detail
-
INFO_PREFIX
private static final java.lang.String INFO_PREFIX
The line prefix used by JTB to report infos.- See Also:
- Constant Field Values
-
err
private boolean err
Determines if the stream consumer is being used forSystem.out
orSystem.err
.
-
-