com.alibaba.excel.analysis.v03
类 XlsSaxAnalyser
- java.lang.Object
-
- com.alibaba.excel.analysis.v03.XlsSaxAnalyser
-
- 所有已实现的接口:
- ExcelReadExecutor, org.apache.poi.hssf.eventusermodel.HSSFListener
public class XlsSaxAnalyser extends Object implements org.apache.poi.hssf.eventusermodel.HSSFListener, ExcelReadExecutor
/** * A text extractor for Excel files. ** Returns the textual content of the file, suitable for * indexing by something like Lucene, but not really * intended for display to the user. *
** To turn an excel file into a CSV or similar, then see * the XLS2CSVmra example *
* * @see XLS2CSVmra- 作者:
- jipengfei
-
构造器概要
构造器 构造器和说明 XlsSaxAnalyser(AnalysisContext context, org.apache.poi.poifs.filesystem.POIFSFileSystem poifsFileSystem)
-
构造器详细资料
XlsSaxAnalyser
public XlsSaxAnalyser(AnalysisContext context, org.apache.poi.poifs.filesystem.POIFSFileSystem poifsFileSystem)
方法详细资料
sheetList
public List<ReadSheet> sheetList()
从接口复制的说明:ExcelReadExecutor
Returns the actual sheet in excel- 指定者:
-
sheetList
在接口中ExcelReadExecutor
- 返回:
- Actual sheet in excel
execute
public void execute(List<ReadSheet> readSheetList, Boolean readAll)
从接口复制的说明:ExcelReadExecutor
Read the sheet.- 指定者:
-
execute
在接口中ExcelReadExecutor
- 参数:
-
readSheetList
- Which sheets you need to read. -
readAll
- ThereadSheetList
parameter is ignored, and all sheets are read.
processRecord
public void processRecord(org.apache.poi.hssf.record.Record record)
- 指定者:
-
processRecord
在接口中org.apache.poi.hssf.eventusermodel.HSSFListener
Copyright © 2018–2019 Alibaba Group. All rights reserved.