org.opencrx.kernel.text
Class ExcelToText

java.lang.Object
  extended by 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


Field Summary
protected  org.apache.poi.hssf.record.SSTRecord sstrec
           
protected  StringBuilder text
           
 
Constructor Summary
ExcelToText()
           
 
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
 

Field Detail

text

protected final StringBuilder text

sstrec

protected org.apache.poi.hssf.record.SSTRecord sstrec
Constructor Detail

ExcelToText

public ExcelToText()
Method Detail

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.