org.apache.maven.plugin.surefire.booterclient.output
Class ThreadedStreamConsumer

java.lang.Object
  extended by org.apache.maven.plugin.surefire.booterclient.output.ThreadedStreamConsumer
All Implemented Interfaces:
StreamConsumer

public class ThreadedStreamConsumer
extends Object
implements StreamConsumer

Knows how to reconstruct *all* the state transmitted over stdout by the forked process.

Author:
Kristian Rosenvold

Constructor Summary
ThreadedStreamConsumer(StreamConsumer target)
           
 
Method Summary
 void close()
           
 void consumeLine(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadedStreamConsumer

public ThreadedStreamConsumer(StreamConsumer target)
Method Detail

consumeLine

public void consumeLine(String s)
Specified by:
consumeLine in interface StreamConsumer

close

public void close()


Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.