org.opencrx.kernel.text
Class ExcelToText
java.lang.Object
org.opencrx.kernel.text.ExcelToText
- All Implemented Interfaces:
- org.apache.poi.hssf.eventusermodel.HSSFListener
public class ExcelToText
- extends Object
- implements org.apache.poi.hssf.eventusermodel.HSSFListener
Method Summary |
Reader |
parse(InputStream document)
|
void |
processRecord(org.apache.poi.hssf.record.Record record)
This method listens for incoming records and handles them as required. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
text
protected final StringBuilder text
sstrec
protected org.apache.poi.hssf.record.SSTRecord sstrec
ExcelToText
public ExcelToText()
parse
public Reader parse(InputStream document)
throws ServiceException
- Throws:
ServiceException
processRecord
public void processRecord(org.apache.poi.hssf.record.Record record)
- This method listens for incoming records and handles them as required.
- Specified by:
processRecord
in interface org.apache.poi.hssf.eventusermodel.HSSFListener
- Parameters:
record
- The record that was found while reading.
This software is published under the BSD license. Copyright © 2003-2013, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.