public class PDFTextExtractor extends Object implements TextExtractor
Constructor and Description |
---|
PDFTextExtractor(String filepath)
Creates a new PDF text extractor.
|
Modifier and Type | Method and Description |
---|---|
String |
extractPath()
Returns the path of the input document.
|
String |
extractText()
Returns the textual content of the PDF file.
|
public PDFTextExtractor(String filepath) throws FalseFileTypeException
filepath
- The path of the PDF file.FalseFileTypeException
public String extractText()
extractText
in interface TextExtractor
public String extractPath()
extractPath
in interface TextExtractor
Copyright © 2014. All rights reserved.