net.sourceforge.cruisecontrol.util
Class DiscardConsumer

java.lang.Object
  extended bynet.sourceforge.cruisecontrol.util.DiscardConsumer
All Implemented Interfaces:
StreamConsumer

public class DiscardConsumer
extends java.lang.Object
implements StreamConsumer

A StreamConsumer that discards the stream's content.


Constructor Summary
DiscardConsumer()
          Creates a StreamConsumer instance that discards all line.
 
Method Summary
 void consumeLine(java.lang.String line)
          Called when the StreamPumper pumps a line from the Stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiscardConsumer

public DiscardConsumer()
Creates a StreamConsumer instance that discards all line.

Method Detail

consumeLine

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

Specified by:
consumeLine in interface StreamConsumer