Package org.codehaus.plexus.util.cli
Class CommandLineUtils.StringStreamConsumer
java.lang.Object
org.codehaus.plexus.util.cli.CommandLineUtils.StringStreamConsumer
- All Implemented Interfaces:
StreamConsumer
- Enclosing class:
CommandLineUtils
A
StreamConsumer providing consumed lines as a String.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconsumeLine(String line) Called when the StreamPumper pumps a line from the Stream.
-
Constructor Details
-
StringStreamConsumer
public StringStreamConsumer()
-
-
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.
-
getOutput
-