Class DefaultConsumer
- java.lang.Object
-
- org.apache.maven.shared.utils.cli.DefaultConsumer
-
- All Implemented Interfaces:
StreamConsumer
public class DefaultConsumer extends java.lang.Object implements StreamConsumer
-
-
Constructor Summary
Constructors Constructor Description DefaultConsumer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconsumeLine(java.lang.String line)Called when the StreamPumper pumps a line from the Stream.
-
-
-
Method Detail
-
consumeLine
public void consumeLine(java.lang.String line) throws java.io.IOExceptionCalled when the StreamPumper pumps a line from the Stream.- Specified by:
consumeLinein interfaceStreamConsumer- Parameters:
line- The line to be consumed.- Throws:
java.io.IOException- if consuminglinefails.
-
-