org.codehaus.plexus.util.cli

Class CommandLineUtils.StringStreamConsumer

Enclosing Class:
CommandLineUtils
Implemented Interfaces:
StreamConsumer

public static class CommandLineUtils.StringStreamConsumer
extends java.lang.Object
implements StreamConsumer

Field Summary

private String
ls
private StringBuffer
string

Method Summary

void
consumeLine(String line)
Called when the StreamPumper pumps a line from the Stream.
String
getOutput()

Field Details

ls

private String ls

string

private StringBuffer string

Method Details

consumeLine

public void consumeLine(String line)
Called when the StreamPumper pumps a line from the Stream.
Specified by:
consumeLine in interface StreamConsumer

getOutput

public String getOutput()