add read by name support

This commit is contained in:
Looly
2020-12-27 05:15:07 +08:00
parent ee5331f53e
commit dc440b2cc7
5 changed files with 72 additions and 28 deletions

View File

@@ -66,6 +66,11 @@ public class ExcelSaxReadTest {
ExcelUtil.readBySax("blankAndDateTest.xlsx", 0, createRowHandler());
}
@Test
public void readBySaxByNameTest() {
ExcelUtil.readBySax("blankAndDateTest.xlsx", "Sheet1", createRowHandler());
}
@Test
@Ignore
public void readBySaxTest2() {