intarsys PDF library API

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(ILocator locator)
          Create a COSDocument instance representing the object structure of the PDF file designated by locator.
 

Method Detail

createDocument

COSDocument createDocument(ILocator locator)
                           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.
Returns:
A new COSDocument
Throws:
IOException
COSLoadException

intarsys PDF library API

Copyright © 2006 intarsys consulting GmbH. All Rights Reserved.