org.dbunit.dataset.stream
Class DataSetProducerAdapter

java.lang.Object
  extended byorg.dbunit.dataset.stream.DataSetProducerAdapter
All Implemented Interfaces:
IDataSetProducer

public class DataSetProducerAdapter
extends java.lang.Object
implements IDataSetProducer

Since:
Apr 17, 2003
Version:
$Revision: 1.3 $
Author:
Manuel Laflamme

Constructor Summary
DataSetProducerAdapter(IDataSet dataSet)
           
DataSetProducerAdapter(ITableIterator iterator)
           
 
Method Summary
 void produce()
          Process this dataset source.
 void setConsumer(IDataSetConsumer consumer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataSetProducerAdapter

public DataSetProducerAdapter(ITableIterator iterator)

DataSetProducerAdapter

public DataSetProducerAdapter(IDataSet dataSet)
                       throws DataSetException
Method Detail

setConsumer

public void setConsumer(IDataSetConsumer consumer)
                 throws DataSetException
Specified by:
setConsumer in interface IDataSetProducer
Throws:
DataSetException

produce

public void produce()
             throws DataSetException
Description copied from interface: IDataSetProducer
Process 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:
produce in interface IDataSetProducer
Throws:
DataSetException


Copyright © 2002-2004 DbUnit.org. All Rights Reserved.