|
Terrier IR Platform 2.2.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.gla.terrier.indexing.FileDocument
uk.ac.gla.terrier.indexing.PDFDocument
public class PDFDocument
Implements a Document object for reading PDF documents. This object uses the PDFBox.org library, so you'll need to ensure that PDFBox-0.6.7a.jar or greater is in your classpath when compiling or using this document. For using this class, you will also need the library log4j.
| Field Summary |
|---|
| Fields inherited from class uk.ac.gla.terrier.indexing.FileDocument |
|---|
counter |
| Constructor Summary | |
|---|---|
PDFDocument(java.io.File f,
java.io.InputStream docStream)
Constructs a new PDFDocument, which will convert the docStream which represents the file to a Document object from which an Indexer can retrieve a stream of terms. |
|
| Method Summary |
|---|
| Methods inherited from class uk.ac.gla.terrier.indexing.FileDocument |
|---|
endOfDocument, getAllProperties, getFields, getNextTerm, getProperty, getReader |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PDFDocument(java.io.File f,
java.io.InputStream docStream)
docStream - InputStream the input stream that represents the
the document's file.
|
Terrier IR Platform 2.2.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||