public class XlsSaxAnalyser extends java.lang.Object implements org.apache.poi.hssf.eventusermodel.HSSFListener, ExcelReadExecutor
* 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) |
public XlsSaxAnalyser(AnalysisContext context, org.apache.poi.poifs.filesystem.POIFSFileSystem poifsFileSystem)
public java.util.List<ReadSheet> sheetList()
ExcelReadExecutorsheetList 在接口中 ExcelReadExecutorpublic void execute(java.util.List<ReadSheet> readSheetList, java.lang.Boolean readAll)
ExcelReadExecutorexecute 在接口中 ExcelReadExecutorreadSheetList - Which sheets you need to read.readAll - The readSheetList parameter is ignored, and all sheets are read.public void processRecord(org.apache.poi.hssf.record.Record record)
processRecord 在接口中 org.apache.poi.hssf.eventusermodel.HSSFListener