类 XlsSaxAnalyser
java.lang.Object
com.sh.wf.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-
构造器概要
构造器构造器说明XlsSaxAnalyser(AnalysisContext context, org.apache.poi.poifs.filesystem.POIFSFileSystem poifsFileSystem) -
方法概要
-
构造器详细资料
-
XlsSaxAnalyser
public XlsSaxAnalyser(AnalysisContext context, org.apache.poi.poifs.filesystem.POIFSFileSystem poifsFileSystem)
-
-
方法详细资料
-
sheetList
从接口复制的说明:ExcelReadExecutorReturns the actual sheet in excel- 指定者:
sheetList在接口中ExcelReadExecutor- 返回:
- Actual sheet in excel
-
execute
从接口复制的说明:ExcelReadExecutorRead the sheet.- 指定者:
execute在接口中ExcelReadExecutor- 参数:
readSheetList- Which sheets you need to read.readAll- ThereadSheetListparameter 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
-