Package org.dbunit.dataset.csv
Class CsvProducer
java.lang.Object
org.dbunit.dataset.csv.CsvProducer
- All Implemented Interfaces:
IDataSetProducer
- Since:
- 1.5 (Sep 17, 2003)
- Version:
- $Revision$ $Date$
- Author:
- Federico Spinazzi, Last changed by: $Author$
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ListGet a list of tables that this producer will createvoidproduce()Process this dataset source.voidsetConsumer(IDataSetConsumer consumer)
-
Constructor Details
-
CsvProducer
-
CsvProducer
-
-
Method Details
-
setConsumer
- Specified by:
setConsumerin interfaceIDataSetProducer- Throws:
DataSetException
-
produce
Description copied from interface:IDataSetProducerProcess 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:
producein interfaceIDataSetProducer- Throws:
DataSetException
-
getTables
Get a list of tables that this producer will create- Returns:
- a list of Strings, where each item is a CSV file relative to the base URL
- Throws:
IOException- when IO on the base URL has issues.
-