org.mmbase.module.lucene.extraction.impl
Class POIExcelExtractor

java.lang.Object
  extended by org.mmbase.module.lucene.extraction.impl.POIExcelExtractor
All Implemented Interfaces:
Extractor

public class POIExcelExtractor
extends Object
implements Extractor

Use POI to extract text from a MS Excel document

Version:
$Id: POIExcelExtractor.java 35593 2009-06-02 23:58:55Z michiel $
Author:
Wouter Heijke

Constructor Summary
POIExcelExtractor()
           
 
Method Summary
 String extract(InputStream input)
          Extract text from a source
 String getMimeType()
          Mimetype this Extractor handles
 void setMimeType(String mimetype)
          Mimetype this Extractor handles
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

POIExcelExtractor

public POIExcelExtractor()
Method Detail

setMimeType

public void setMimeType(String mimetype)
Description copied from interface: Extractor
Mimetype this Extractor handles

Specified by:
setMimeType in interface Extractor
Parameters:
mimetype - String representing the MIME Type

getMimeType

public String getMimeType()
Description copied from interface: Extractor
Mimetype this Extractor handles

Specified by:
getMimeType in interface Extractor
Returns:
String representing the MIME Type

extract

public String extract(InputStream input)
               throws Exception
Description copied from interface: Extractor
Extract text from a source

Specified by:
extract in interface Extractor
Parameters:
input - InputStream where the data comes from
Returns:
String representing the extracted text
Throws:
Exception


MMBase 2.0-SNAPSHOT - null