org.sejda.impl.pdfbox.component
Class DefaultPdfSourceOpener

java.lang.Object
  extended by org.sejda.impl.pdfbox.component.DefaultPdfSourceOpener
All Implemented Interfaces:
PdfSourceOpener<PDDocumentHandler>

public class DefaultPdfSourceOpener
extends Object
implements PdfSourceOpener<PDDocumentHandler>

PDFBox component able to open a PdfSource and return the corresponding PDDocumentHandler.

Author:
Andrea Vacondio

Constructor Summary
DefaultPdfSourceOpener()
           
 
Method Summary
 PDDocumentHandler open(PdfFileSource source)
           
 PDDocumentHandler open(PdfStreamSource source)
           
 PDDocumentHandler open(PdfURLSource source)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPdfSourceOpener

public DefaultPdfSourceOpener()
Method Detail

open

public PDDocumentHandler open(PdfURLSource source)
                       throws TaskIOException
Specified by:
open in interface PdfSourceOpener<PDDocumentHandler>
Throws:
TaskIOException

open

public PDDocumentHandler open(PdfFileSource source)
                       throws TaskIOException
Specified by:
open in interface PdfSourceOpener<PDDocumentHandler>
Throws:
TaskIOException

open

public PDDocumentHandler open(PdfStreamSource source)
                       throws TaskIOException
Specified by:
open in interface PdfSourceOpener<PDDocumentHandler>
Throws:
TaskIOException


Copyright © 2012. All Rights Reserved.