org.codehaus.plexus.util.cli
Interface StreamConsumer
public
interface
StreamConsumer
Works in concert with the StreamPumper class to
allow implementations to gain access to the lines being
"Pumped".
Please note that implementations of this interface can be expected to be
called from arbitrary threads and must therefore be threadsafe.
Version: $Id: StreamConsumer.java 8695 2010-04-20 18:37:36Z bentmann $
Author: Florin Vancea Paul Julius
public void consumeLine(String line)
Called when the StreamPumper pumps a line from the Stream.
Copyright © 2001-2010
Codehaus. All Rights Reserved.