jPod PDF library

de.intarsys.pdf.cos
Class StandardDocumentFactory

java.lang.Object
  extended by de.intarsys.pdf.cos.StandardDocumentFactory
All Implemented Interfaces:
ICOSDocumentFactory

public class StandardDocumentFactory
extends Object
implements ICOSDocumentFactory

A simple factory that creates a new document from the locator.


Constructor Summary
StandardDocumentFactory()
           
 
Method Summary
 COSDocument createDocument(de.intarsys.tools.locator.ILocator locator, Map options)
          Create a COSDocument instance representing the object structure of the PDF file designated by locator.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardDocumentFactory

public StandardDocumentFactory()
Method Detail

createDocument

public COSDocument createDocument(de.intarsys.tools.locator.ILocator locator,
                                  Map options)
                           throws COSLoadException,
                                  IOException
Description copied from interface: ICOSDocumentFactory
Create a COSDocument instance representing the object structure of the PDF file designated by locator.

Specified by:
createDocument in interface ICOSDocumentFactory
Parameters:
locator - The reference to the physical source of the PDF file.
options - The options for document creation
Returns:
A new COSDocument
Throws:
COSLoadException
IOException

jPod PDF library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.