01: package org.dbunit.dataset.csv;
02:
03: import java.io.File;
04:
05: import org.dbunit.dataset.CachedDataSet;
06: import org.dbunit.dataset.DataSetException;
07:
08: /**
09: * This class constructs an IDataSet given a directory containing CSV
10: * files. It handles translations of "null"(the string), into null.
11: *
12: * @author Lenny Marks (lenny@aps.org)
13: *
14: */
15: public class CsvDataSet extends CachedDataSet {
16: public static final String TABLE_ORDERING_FILE = "table-ordering.txt";
17:
18: private File dir;
19:
20: public CsvDataSet(File dir) throws DataSetException {
21: super (new CsvProducer(dir));
22: this.dir = dir;
23: }
24:
25: }
|