To correspond to a newest version of "Apache POI liblary", it was changed.
The change point of a file.
pom.xml
- poi is upgraded "3.11".
- Add dpendency "poi-ooxml".
XlsDataSet.java
- "org.apache.poi.hssf" a package class is exchanged to "org.apache.poi.ss.usermodel" package interface.
- Used a WorkbookFactory class for reading of Excel file. (It's possible to read both of them of xls,xlsx.)
XlsDataSetWriter.java
- "org.apache.poi.hssf" a package class is exchanged to "org.apache.poi.ss.usermodel" package interface.
- "Make a workbook" part moved to new method(createWorkbook(), for overriding).
XlsTable.java
- "org.apache.poi.hssf" a package class is exchanged to "org.apache.poi.ss.usermodel" package interface.
src/test/java/org/dbunit/dataset/excel/AllTests.java
- A test class (XlsxDataSetTest.java,XlsxTableTest.java) is added for new Excel file format test.
- Those classes are carried out by a suite.
src/test/resources/xml
- A data file (dataSetTest.xlsx, tableTest.xlsx) is added for new excel file format test.
Thank you!
Last edit: Jeff Jensen 2015-03-15