public class CsvProducer extends java.lang.Object implements IDataSetProducer
| Constructor and Description |
|---|
CsvProducer(java.io.File theDirectory) |
CsvProducer(java.lang.String theDirectory) |
| Modifier and Type | Method and Description |
|---|---|
static java.util.List |
getTables(java.net.URL base,
java.lang.String tableList)
Get a list of tables that this producer will create
|
void |
produce()
Process this dataset source.
|
void |
setConsumer(IDataSetConsumer consumer) |
public CsvProducer(java.lang.String theDirectory)
public CsvProducer(java.io.File theDirectory)
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 IDataSetProducerDataSetExceptionpublic static java.util.List getTables(java.net.URL base,
java.lang.String tableList)
throws java.io.IOException
java.io.IOException - when IO on the base URL has issues.Copyright © 2002-2018. All Rights Reserved.