Class TeeConsumer
- java.lang.Object
-
- org.apache.maven.shared.release.exec.TeeConsumer
-
- All Implemented Interfaces:
org.codehaus.plexus.util.cli.StreamConsumer
public class TeeConsumer extends java.lang.Object implements org.codehaus.plexus.util.cli.StreamConsumer
Consumer that both funnels to System.out/err, and stores in an internal buffer.
-
-
Constructor Summary
Constructors Constructor Description TeeConsumer(java.io.PrintStream stream)
TeeConsumer(java.io.PrintStream stream, java.lang.String indent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
consumeLine(java.lang.String line)
java.lang.String
getContent()
java.lang.String
toString()
-