|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.shared.invoker.PrintStreamHandler
public class PrintStreamHandler
Offers an output handler that writes to a print stream like System.out
.
Constructor Summary | |
---|---|
PrintStreamHandler()
Creates a new output handler that writes to System.out . |
|
PrintStreamHandler(java.io.PrintStream out,
boolean alwaysFlush)
Creates a new output handler that writes to the specified print stream. |
Method Summary | |
---|---|
void |
consumeLine(java.lang.String line)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PrintStreamHandler()
System.out
.
public PrintStreamHandler(java.io.PrintStream out, boolean alwaysFlush)
out
- The print stream to write to, must not be null
.alwaysFlush
- A flag whether the print stream should be flushed after each line.Method Detail |
---|
public void consumeLine(java.lang.String line)
consumeLine
in interface org.codehaus.plexus.util.cli.StreamConsumer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |