com.arsdigita.search.converter
Class WordConverter

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

public class WordConverter
extends BaseConverter

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


Constructor Summary
WordConverter()
           
 
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

WordConverter

public WordConverter()
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