|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.qoppa.pdf.source.MBBPDFSource
public class MBBPDFSource
Implementation of the PDFSource interface that uses a MappedByteBuffer. This class opens a file using a MappedByteBuffer and fulfills the PDFSource interface by passing the calls on to the buffer.
| Constructor Summary | |
|---|---|
MBBPDFSource(File source)
|
|
MBBPDFSource(String fileName)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MBBPDFSource(File source)
throws PDFException
PDFException
public MBBPDFSource(String fileName)
throws PDFException
PDFException| Method Detail |
|---|
public String getName()
PDFSource
getName in interface PDFSourcepublic String getPath()
PDFSource
getPath in interface PDFSourcepublic boolean equals(PDFSource other)
PDFSource
equals in interface PDFSourcepublic File getFile()
public PDFContent getContent()
throws IOException
PDFSource
getContent in interface PDFSourceIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||