csvdataset.java
来自「采用 Java 编写的数据库系统单元测试程序。」· Java 代码 · 共 26 行
JAVA
26 行
package org.dbunit.dataset.csv;
import java.io.File;
import org.dbunit.dataset.CachedDataSet;
import org.dbunit.dataset.DataSetException;
/**
* This class constructs an IDataSet given a directory containing CSV
* files. It handles translations of "null"(the string), into null.
*
* @author Lenny Marks (lenny@aps.org)
*
*/
public class CsvDataSet extends CachedDataSet {
public static final String TABLE_ORDERING_FILE = "table-ordering.txt";
private File dir;
public CsvDataSet(File dir) throws DataSetException {
super(new CsvProducer(dir));
this.dir = dir;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?