public class MBBPDFSource extends Object implements PDFSource
| Constructor and Description |
|---|
MBBPDFSource(File source) |
MBBPDFSource(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 MBBPDFSource(File source) throws PDFException
PDFExceptionpublic MBBPDFSource(String fileName) throws PDFException
PDFExceptionpublic String getName()
PDFSourcepublic String getPath()
PDFSourcepublic boolean equals(PDFSource other)
PDFSourcepublic File getFile()
public PDFContent getContent() throws IOException
PDFSourcegetContent in interface PDFSourceIOException