com.arsdigita.search.converter
Class PDFConverter

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

public class PDFConverter
extends BaseConverter

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


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

PDFConverter

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