public class DataSetProducerAdapter extends Object implements IDataSetProducer
Constructor and Description |
---|
DataSetProducerAdapter(IDataSet dataSet) |
DataSetProducerAdapter(ITableIterator iterator) |
Modifier and Type | Method and Description |
---|---|
void |
produce()
Process this dataset source.
|
void |
setConsumer(IDataSetConsumer consumer) |
public DataSetProducerAdapter(ITableIterator iterator)
public DataSetProducerAdapter(IDataSet dataSet) throws DataSetException
DataSetException
public void setConsumer(IDataSetConsumer consumer) throws DataSetException
setConsumer
in interface IDataSetProducer
DataSetException
public void produce() throws DataSetException
IDataSetProducer
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.
produce
in interface IDataSetProducer
DataSetException
Copyright © 2002–2018. All rights reserved.