|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.dbunit.dataset.AbstractDataSet
org.dbunit.dataset.excel.XlsDataSet
public class XlsDataSet
This dataset implementation can read and write MS Excel documents. Each sheet represents a table. The first row of a sheet defines the columns names and remaining rows contains the data.
Constructor Summary | |
---|---|
XlsDataSet(File file)
Creates a new XlsDataSet object that loads the specified Excel document. |
|
XlsDataSet(InputStream in)
Creates a new XlsDataSet object that loads the specified Excel document. |
Method Summary | |
---|---|
protected ITableIterator |
createIterator(boolean reversed)
Creates an iterator which provides access to all tables of this dataset |
static void |
write(IDataSet dataSet,
OutputStream out)
Write the specified dataset to the specified Excel document. |
Methods inherited from class org.dbunit.dataset.AbstractDataSet |
---|
createTableNameMap, getTable, getTableMetaData, getTableNames, getTables, isCaseSensitiveTableNames, iterator, reverseIterator, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public XlsDataSet(File file) throws IOException, DataSetException
IOException
DataSetException
public XlsDataSet(InputStream in) throws IOException, DataSetException
IOException
DataSetException
Method Detail |
---|
public static void write(IDataSet dataSet, OutputStream out) throws IOException, DataSetException
IOException
DataSetException
protected ITableIterator createIterator(boolean reversed) throws DataSetException
AbstractDataSet
createIterator
in class AbstractDataSet
reversed
- Whether the created iterator should be a reversed one or not
ITableIterator
DataSetException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |