Package org.codehaus.plexus.util.cli
Class WriterStreamConsumer
- java.lang.Object
-
- org.codehaus.plexus.util.cli.WriterStreamConsumer
-
- All Implemented Interfaces:
StreamConsumer
public class WriterStreamConsumer extends java.lang.Object implements StreamConsumer
-
-
Field Summary
Fields Modifier and Type Field Description private java.io.PrintWriter
writer
-
Constructor Summary
Constructors Constructor Description WriterStreamConsumer(java.io.Writer writer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
consumeLine(java.lang.String line)
Called when the StreamPumper pumps a line from the Stream.
-
-
-
Method Detail
-
consumeLine
public void consumeLine(java.lang.String line)
Description copied from interface:StreamConsumer
Called when the StreamPumper pumps a line from the Stream.- Specified by:
consumeLine
in interfaceStreamConsumer
- Parameters:
line
- The line to be consumed.
-
-