org.apache.commons.pipeline.testFramework
Class TestFeeder

java.lang.Object
  extended by org.apache.commons.pipeline.testFramework.TestFeeder
All Implemented Interfaces:
Feeder

public class TestFeeder
extends Object
implements Feeder

This feeder simply adds the received objects to a list.


Field Summary
 List<Object> receivedValues
           
 
Fields inherited from interface org.apache.commons.pipeline.Feeder
VOID
 
Constructor Summary
TestFeeder()
           
 
Method Summary
 void feed(Object obj)
          Feeds the specified object to an underlying receiver.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

receivedValues

public List<Object> receivedValues
Constructor Detail

TestFeeder

public TestFeeder()
Method Detail

feed

public void feed(Object obj)
Description copied from interface: Feeder
Feeds the specified object to an underlying receiver.

Specified by:
feed in interface Feeder
Parameters:
obj - The object being fed to the receiver.


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