使用apache poi读取扩展名为xlsx的excel文件时,识别扩展需要很长时间。你能帮助为什么需要很长时间吗? if (file.getExcelFile().getOriginalFilename().endsWith("xls"))
{
workbook = new HSSFWorkbook(file.getExcelFile().getInputStream());
我试图从12个不同的文件中自动导入数据,每个文件有6-10张。是否有一个过程可以通过“选定工作表”仅从每个文件自动提取数据并将其加载到单个文件(或SQL表)中。 实施例: File A with Columns "Name" Column "Amount".
File A has total of 4 sheets (2 sheets named "ABC Trend", "DEF Trend"