Package org.codehaus.plexus.util.cli
Class DefaultConsumer
- java.lang.Object
-
- org.codehaus.plexus.util.cli.DefaultConsumer
-
- All Implemented Interfaces:
StreamConsumer
public class DefaultConsumer extends Object implements StreamConsumer
- Author:
- Emmanuel Venisse
-
-
Constructor Summary
Constructors Constructor Description DefaultConsumer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
consumeLine(String line)
Called when the StreamPumper pumps a line from the Stream.
-
-
-
Method Detail
-
consumeLine
public void consumeLine(String line) throws IOException
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.- Throws:
IOException
- if consumingline
fails.
-
-