public class FilePDFSource extends Object implements PDFSource
Constructor and Description |
---|
FilePDFSource(File source) |
FilePDFSource(String fileName) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(PDFSource other)
Tests if this source is equal to another source.
|
PDFContent |
getContent()
Returns an object that implements PDFContent, that contains and can deliver the contents of the PDF document.
|
File |
getFile()
Returns the file that this PDF source represents.
|
String |
getName()
Returns the name of the document.
|
String |
getPath()
Returns the full path to the document.
|
public FilePDFSource(File source) throws PDFException
PDFException
public FilePDFSource(String fileName) throws PDFException
PDFException
public String getName()
PDFSource
public String getPath()
PDFSource
public boolean equals(PDFSource other)
PDFSource
public File getFile()
public PDFContent getContent() throws IOException
PDFSource
getContent
in interface PDFSource
IOException