public static class CommandLineUtils.StringStreamConsumer extends Object implements StreamConsumer
StreamConsumer
providing consumed lines as a String
.getOutput()
Constructor and Description |
---|
StringStreamConsumer() |
Modifier and Type | Method and Description |
---|---|
void |
consumeLine(String line)
Called when the StreamPumper pumps a line from the Stream.
|
String |
getOutput() |
public void consumeLine(String line)
StreamConsumer
consumeLine
in interface StreamConsumer
line
- The line to be consumed.public String getOutput()
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.