|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.oio.jpdfunit.document.DocumentFactory
de.oio.jpdfunit.document.pdflibimpl.PdfBoxFactory
public final class PdfBoxFactory
The PdfBoxFactory is the default factory class which is used for getting a Document and the matching content.
Method Summary | |
---|---|
Document |
getDocument(InputStream pdfStream)
For working with a Document first you have to get the Document. |
Document |
getDocument(String pdfFile)
For working with a Document first you have to get the Document. |
static DocumentFactory |
newInstance()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static DocumentFactory newInstance()
public Document getDocument(String pdfFile)
getDocument
in class DocumentFactory
pdfFile
- The document i.e.
"etc/testing-pdfs/oio-katalog-mit-logo-mit-farben.pdf"
public Document getDocument(InputStream pdfStream)
getDocument
in class DocumentFactory
pdfStream
- A InputStream which contains the document.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |