Browse Source

支持通过模板填充数据

pull/651/head
Jiaju Zhuang 5 years ago
parent
commit
aede58f4b9
  1. 4
      src/main/java/com/alibaba/excel/analysis/v07/XlsxSaxAnalyser.java

4
src/main/java/com/alibaba/excel/analysis/v07/XlsxSaxAnalyser.java

@ -43,9 +43,9 @@ import com.alibaba.excel.util.FileUtils;
public class XlsxSaxAnalyser implements ExcelExecutor { public class XlsxSaxAnalyser implements ExcelExecutor {
private static final Logger LOGGER = LoggerFactory.getLogger(XlsxSaxAnalyser.class); private static final Logger LOGGER = LoggerFactory.getLogger(XlsxSaxAnalyser.class);
/** /**
* If it's less than 5M, use map cache, or use ehcache. * If it's less than 10M, use map cache, or use ehcache.
*/ */
private static final long USE_MAP_CACHE_SIZE = 5 * 1000 * 1000L; private static final long USE_MAP_CACHE_SIZE = 10 * 1000 * 1000L;
private AnalysisContext analysisContext; private AnalysisContext analysisContext;
private List<ReadSheet> sheetList; private List<ReadSheet> sheetList;
private Map<Integer, InputStream> sheetMap; private Map<Integer, InputStream> sheetMap;

Loading…
Cancel
Save