public class CsvInput extends Object implements Input
Input interface for the set of CSV files using the CsvProducer.| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes any system resources that were used by the producer and prepares the input to
provide a new data set producer with the call to
Input.getProducer(). |
protected org.dbunit.dataset.csv.CsvProducer |
getCsvProducer() |
protected File |
getDirectory() |
org.dbunit.dataset.stream.IDataSetProducer |
getProducer()
The returned producer is assumed to produce a data set that can then be fed into a database.
|
public CsvInput(File directory)
protected File getDirectory()
protected org.dbunit.dataset.csv.CsvProducer getCsvProducer()
public org.dbunit.dataset.stream.IDataSetProducer getProducer()
throws Exception
InputgetProducer in interface InputExceptionpublic void close()
throws IOException
InputInput.getProducer().close in interface InputIOExceptionCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.