org.apache.commons.pipeline.testFramework
Class TestFeeder
java.lang.Object
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.
Fields inherited from interface org.apache.commons.pipeline.Feeder |
VOID |
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 |
receivedValues
public List<Object> receivedValues
TestFeeder
public TestFeeder()
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.