mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix code
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package org.dromara.hutool.poi.excel;
|
||||
|
||||
import org.dromara.hutool.core.io.file.FileUtil;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
public class Issue3481Test {
|
||||
@Test
|
||||
@Disabled
|
||||
void readerToWriterTest() {
|
||||
final ExcelReader reader = ExcelUtil.getReader("d:/test/aaa.xlsx");
|
||||
// 写出
|
||||
final ExcelWriter writer = ExcelUtil.getWriter(FileUtil.file("d:/test/aaa.xlsx"));
|
||||
writer.getOrCreateRow(10).createCell(0).setCellValue("测试");
|
||||
writer.flush(FileUtil.file("d:/test/bbb.xlsx"));
|
||||
writer.close();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user