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