com.arsdigita.search.converter
Class OOConverter

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

public class OOConverter
extends BaseConverter

This class provides the mechanism to perform a conversion from OpenOffice files to standard text.


Field Summary
static String CONTENT_XML
           
 
Constructor Summary
OOConverter()
           
 
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
 

Field Detail

CONTENT_XML

public static final String CONTENT_XML
See Also:
Constant Field Values
Constructor Detail

OOConverter

public OOConverter()
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 21 2004:2337 UTC