org.apache.lenya.lucene.parser
Class PDFParserWrapper

java.lang.Object
  extended by org.apache.lenya.lucene.parser.AbstractHTMLParser
      extended by org.apache.lenya.lucene.parser.PDFParserWrapper
All Implemented Interfaces:
HTMLParser

public class PDFParserWrapper
extends AbstractHTMLParser


Constructor Summary
PDFParserWrapper()
          Creates a new instance of PDFParserWrapper
 
Method Summary
 java.lang.String getKeywords()
          Returns the keywords of the HTML document.
protected  HTMLParser getParser()
           
 java.io.Reader getReader()
          Returns a reader that reads the contents of the HTML document.
 java.lang.String getTitle()
          Returns the title of the HTML document.
 void parse(java.io.File file)
          DOCUMENT ME!
 void parse(java.net.URI uri)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDFParserWrapper

public PDFParserWrapper()
Creates a new instance of PDFParserWrapper

Method Detail

getReader

public java.io.Reader getReader()
                         throws java.io.IOException
Returns a reader that reads the contents of the HTML document.

Throws:
java.io.IOException

getTitle

public java.lang.String getTitle()
                          throws java.io.IOException
Returns the title of the HTML document.

Throws:
java.io.IOException

getKeywords

public java.lang.String getKeywords()
                             throws java.io.IOException
Returns the keywords of the HTML document.

Throws:
java.io.IOException

getParser

protected HTMLParser getParser()

parse

public void parse(java.io.File file)
           throws ParseException
DOCUMENT ME!

Specified by:
parse in interface HTMLParser
Overrides:
parse in class AbstractHTMLParser
Parameters:
file - DOCUMENT ME!
Throws:
ParseException - DOCUMENT ME!

parse

public void parse(java.net.URI uri)
           throws ParseException
DOCUMENT ME!

Parameters:
uri - DOCUMENT ME!
Throws:
ParseException - DOCUMENT ME!


Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.