jPod PDF library

de.intarsys.pdf.cos
Interface ICOSDocumentFactory

All Known Implementing Classes:
StandardDocumentFactory

public interface ICOSDocumentFactory

An object that is able to create a COSDocument with the help of a locator object that designates the physical source.

Possible implementations include parsing the associated input stream or looking up previous results in a cache.


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.
 

Method Detail

createDocument

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

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

jPod PDF library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.