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()
ExcelReadExecutor
sheetList
在接口中 ExcelReadExecutor
public void execute(java.util.List<ReadSheet> readSheetList, java.lang.Boolean readAll)
ExcelReadExecutor
execute
在接口中 ExcelReadExecutor
readSheetList
- 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