This commit is contained in:
Looly 2020-06-12 16:46:27 +08:00
parent 4843e684b0
commit 6c17763322

View File

@ -12,6 +12,7 @@ import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import java.io.File;
import java.util.List;
/**
@ -108,4 +109,16 @@ public class ExcelSaxReadTest {
ExcelUtil.readBySax("d:/test/sax_date_test.xlsx", 0, (i, i1, list) ->
Console.log(StrUtil.join(", ", list)));
}
@Test
@Ignore
public void readBlankTest(){
File file = new File("D:/test/b.xlsx");
ExcelUtil.readBySax(file, 0, (sheetIndex, rowIndex, rowList) -> {
rowList.forEach(System.out::println);
});
ExcelUtil.getReader(file).read().forEach(System.out::println);
}
}