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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
consumeLine
(String line) Called when the StreamPumper pumps a line from the Stream.
-
Constructor Details
-
StringStreamConsumer
public StringStreamConsumer()
-
-
Method Details
-
consumeLine
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.
-
getOutput
-