public class XlsSaxAnalyser extends 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| Constructor and Description |
|---|
XlsSaxAnalyser(XlsReadContext xlsReadContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Read the sheet.
|
void |
processRecord(org.apache.poi.hssf.record.Record record) |
List<ReadSheet> |
sheetList()
Returns the actual sheet in excel
|
public XlsSaxAnalyser(XlsReadContext xlsReadContext)
public List<ReadSheet> sheetList()
ExcelReadExecutorsheetList in interface ExcelReadExecutorpublic void execute()
ExcelReadExecutorexecute in interface ExcelReadExecutorpublic void processRecord(org.apache.poi.hssf.record.Record record)
processRecord in interface org.apache.poi.hssf.eventusermodel.HSSFListenerCopyright © 2018–2023 Alibaba Group. All rights reserved.