de.intarsys.pdf.cos
Class StandardDocumentFactory
java.lang.Object
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.
StandardDocumentFactory
public StandardDocumentFactory()
createDocument
public COSDocument createDocument(ILocator locator)
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.
- Returns:
- A new COSDocument
- Throws:
COSLoadException
IOException
Copyright © 2006 intarsys consulting GmbH. All Rights Reserved.