public class CsvURLProducer extends Object implements IDataSetProducer
Data Set Producer
that produces datasets from
CVS files found at a base URL.
Based HEAVILY on CsvProducer
.Constructor and Description |
---|
CsvURLProducer(URL base,
String tableList)
Create a CSV Data Set Producer which uses the base URL to retrieve
a list of tables and the data.
|
Modifier and Type | Method and Description |
---|---|
void |
produce()
Process this dataset source.
|
void |
setConsumer(IDataSetConsumer consumer) |
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.