Package org.codehaus.plexus.util.cli
Class DefaultConsumer
java.lang.Object
org.codehaus.plexus.util.cli.DefaultConsumer
- All Implemented Interfaces:
StreamConsumer
- Author:
- Emmanuel Venisse
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconsumeLine(String line) Called when the StreamPumper pumps a line from the Stream.
-
Constructor Details
-
DefaultConsumer
public DefaultConsumer()
-
-
Method Details
-
consumeLine
Description copied from interface:StreamConsumerCalled when the StreamPumper pumps a line from the Stream.- Specified by:
consumeLinein interfaceStreamConsumer- Parameters:
line- The line to be consumed.- Throws:
IOException- if consuminglinefails.
-