Package org.dbunit.dataset.stream
Class DataSetProducerAdapter
java.lang.Object
org.dbunit.dataset.stream.DataSetProducerAdapter
- All Implemented Interfaces:
IDataSetProducer
- Since:
- Apr 17, 2003
- Version:
- $Revision$ $Date$
- Author:
- Manuel Laflamme, Last changed by: $Author$
-
Constructor Summary
ConstructorsConstructorDescriptionDataSetProducerAdapter(IDataSet dataSet) DataSetProducerAdapter(ITableIterator iterator) -
Method Summary
Modifier and TypeMethodDescriptionvoidproduce()Process this dataset source.voidsetConsumer(IDataSetConsumer consumer)
-
Constructor Details
-
DataSetProducerAdapter
-
DataSetProducerAdapter
- Throws:
DataSetException
-
-
Method Details
-
setConsumer
- Specified by:
setConsumerin interfaceIDataSetProducer- Throws:
DataSetException
-
produce
Description copied from interface:IDataSetProducerProcess this dataset source. During the processing, the IDataSetProducer will provide information about the dataset through the specified event listener.This method is synchronous: it will not return until processing has ended. If a client application wants to terminate parsing early, it should throw an exception from the listener.
- Specified by:
producein interfaceIDataSetProducer- Throws:
DataSetException
-