public class ExcelToText extends Object implements org.apache.poi.hssf.eventusermodel.HSSFListener
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.poi.hssf.record.SSTRecord |
sstrec |
protected StringBuilder |
text |
| Constructor and Description |
|---|
ExcelToText()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Reader |
parse(InputStream document)
Extract text from XLS.
|
void |
processRecord(org.apache.poi.hssf.record.Record record)
This method listens for incoming records and handles them as required.
|
protected final StringBuilder text
protected org.apache.poi.hssf.record.SSTRecord sstrec
public Reader parse(InputStream document) throws org.openmdx.base.exception.ServiceException
document - org.openmdx.base.exception.ServiceExceptionpublic void processRecord(org.apache.poi.hssf.record.Record record)
processRecord in interface org.apache.poi.hssf.eventusermodel.HSSFListenerrecord - The record that was found while reading.This software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.