org.codehaus.plexus.util.cli

Interface StreamConsumer

Known Implementing Classes:
CommandLineUtils.StringStreamConsumer, DefaultConsumer, WriterStreamConsumer

public interface StreamConsumer

Works in concert with the StreamPumper class to allow implementations to gain access to the lines being "Pumped".
Version:
$Id: StreamConsumer.java 5956 2007-02-28 08:26:16Z olamy $
Authors:
Florin Vancea
Paul Julius

Method Summary

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

Method Details

consumeLine

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