Search in sources :

Example 1 with Console

use of cn.hutool.core.lang.Console in project hutool by dromara.

the class ExcelSaxReadTest method readBlankTest.

@Test
@Ignore
public void readBlankTest() {
    File file = new File("D:/test/b.xlsx");
    ExcelUtil.readBySax(file, 0, (sheetIndex, rowIndex, rowList) -> rowList.forEach(Console::log));
    ExcelUtil.getReader(file).read().forEach(Console::log);
}
Also used : Console(cn.hutool.core.lang.Console) File(java.io.File) Ignore(org.junit.Ignore) Test(org.junit.Test)

Example 2 with Console

use of cn.hutool.core.lang.Console in project hutool by looly.

the class ExcelSaxReadTest method readBlankTest.

@Test
@Ignore
public void readBlankTest() {
    File file = new File("D:/test/b.xlsx");
    ExcelUtil.readBySax(file, 0, (sheetIndex, rowIndex, rowList) -> rowList.forEach(Console::log));
    ExcelUtil.getReader(file).read().forEach(Console::log);
}
Also used : Console(cn.hutool.core.lang.Console) File(java.io.File) Ignore(org.junit.Ignore) Test(org.junit.Test)

Aggregations

Console (cn.hutool.core.lang.Console)2 File (java.io.File)2 Ignore (org.junit.Ignore)2 Test (org.junit.Test)2