|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dbunit.dataset.csv.CsvURLProducer
public class CsvURLProducer
A Data Set Producer that produces datasets from
CVS files found at a base URL.
Based HEAVILY on CsvProducer.
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
void |
produce()
Process this dataset source. |
void |
setConsumer(IDataSetConsumer consumer)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
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.| Method Detail |
|---|
public void setConsumer(IDataSetConsumer consumer)
throws DataSetException
setConsumer in interface IDataSetProducerDataSetException
public 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 IDataSetProducerDataSetException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||