|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.qoppa.pdf.source.FilePDFSource
public class FilePDFSource
Implementation of the PDFSource interface when the document comes from a file.
| Constructor Summary | |
|---|---|
FilePDFSource(File source)
|
|
FilePDFSource(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 FilePDFSource(File source)
throws PDFException
PDFException
public FilePDFSource(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 | |||||||||