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
PDFException
public MBBPDFSource(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