Class WriterStreamConsumer
java.lang.Object
org.apache.maven.shared.utils.cli.WriterStreamConsumer
- All Implemented Interfaces:
StreamConsumer
- Author:
- Jason van Zyl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconsumeLine(String line) Called when the StreamPumper pumps a line from the Stream.
-
Constructor Details
-
WriterStreamConsumer
- Parameters:
writer-Writer
-
-
Method Details
-
consumeLine
Called when the StreamPumper pumps a line from the Stream.- Specified by:
consumeLinein interfaceStreamConsumer- Parameters:
line- The line to be consumed.- Throws:
IOException- if consuminglinefails.
-