Class CommandLineUtils.StringStreamConsumer
java.lang.Object
org.apache.maven.shared.utils.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
Called when the StreamPumper pumps a line from the Stream.- Specified by:
consumeLine
in interfaceStreamConsumer
- Parameters:
line
- The line to be consumed.
-
getOutput
- Returns:
- The output.
-