public class CsvURLProducer extends java.lang.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(java.net.URL base,
java.lang.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 CsvURLProducer(java.net.URL base,
java.lang.String tableList)
base - the URL where the tableList and data can be found.tableList - the relative location of the list of tables.public void setConsumer(IDataSetConsumer consumer) throws DataSetException
setConsumer in interface IDataSetProducerDataSetExceptionpublic void produce()
throws DataSetException
IDataSetProducerThis 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 IDataSetProducerDataSetExceptionCopyright © 2002-2018. All Rights Reserved.