com.arsdigita.search.converter
Class ExcelConverter

java.lang.Object
  extended bycom.arsdigita.search.converter.BaseConverter
      extended bycom.arsdigita.search.converter.ExcelConverter
All Implemented Interfaces:
Converter

public class ExcelConverter
extends BaseConverter

This class provides the mechanism to perform a conversion from Excel to standard text


Nested Class Summary
 class ExcelConverter.ExcelEvent
          This example shows how to use the event API for reading a file.
 
Constructor Summary
ExcelConverter()
           
 
Method Summary
 String convertDocument(InputStream stream)
          This takes in a document represented as an InputStream and returns a text representation of that document.
protected  String[] getFileExtensions()
          Returns a string array representing all of the files types used by the given converter
 
Methods inherited from class com.arsdigita.search.converter.BaseConverter
convertDocument, convertDocument, getMimeTypes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExcelConverter

public ExcelConverter()
Method Detail

getFileExtensions

protected String[] getFileExtensions()
Returns a string array representing all of the files types used by the given converter

Specified by:
getFileExtensions in class BaseConverter

convertDocument

public String convertDocument(InputStream stream)
                       throws ConversionException
This takes in a document represented as an InputStream and returns a text representation of that document.

Throws:
ConversionException


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC