public class XfdfObjectFactory extends Object
Constructor and Description |
---|
XfdfObjectFactory() |
Modifier and Type | Method and Description |
---|---|
XfdfObject |
createXfdfObject(InputStream xfdfInputStream)
Extracts data from input stream into XfdfObject.
|
XfdfObject |
createXfdfObject(PdfDocument document, String filename)
Extracts data from pdf document acroform and annotations into XfdfObject.
|
public XfdfObject createXfdfObject(PdfDocument document, String filename)
document
- Pdf document for data extraction.
filename
- The name od pdf document for data extraction.
public XfdfObject createXfdfObject(InputStream xfdfInputStream) throws ParserConfigurationException, IOException, SAXException
xfdfInputStream
- The input stream containing xml-styled xfdf data.
ParserConfigurationException
- if a XfdfObject cannot be created which satisfies the configuration requested.
IOException
- if any I/O issue occurs.
SAXException
- if any parse errors occurs.
Copyright © 1998–2023 iText Group NV. All rights reserved.