Package com.itextpdf.forms.xfdf
Class XfdfFileUtils
- java.lang.Object
-
- com.itextpdf.forms.xfdf.XfdfFileUtils
-
final class XfdfFileUtils extends java.lang.Object
-
-
Constructor Summary
Constructors Modifier Constructor Description privateXfdfFileUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static org.w3c.dom.DocumentcreateNewXfdfDocument()Creates a new xml-styled document for writing xfdf info.(package private) static org.w3c.dom.DocumentcreateXfdfDocumentFromStream(java.io.InputStream inputStream)Creates a new xfdf document based on given input stream.(package private) static voidsaveXfdfDocumentToFile(org.w3c.dom.Document document, java.io.OutputStream outputStream)Saves the info from XML-styledDocumenttoOutputStream.
-
-
-
Method Detail
-
createNewXfdfDocument
static org.w3c.dom.Document createNewXfdfDocument()
Creates a new xml-styled document for writing xfdf info.- Throws:
javax.xml.parsers.ParserConfigurationException- in case of failure to create a new document.
-
createXfdfDocumentFromStream
static org.w3c.dom.Document createXfdfDocumentFromStream(java.io.InputStream inputStream)
Creates a new xfdf document based on given input stream.- Parameters:
inputStream- containing xfdf info.
-
saveXfdfDocumentToFile
static void saveXfdfDocumentToFile(org.w3c.dom.Document document, java.io.OutputStream outputStream) throws javax.xml.transform.TransformerExceptionSaves the info from XML-styledDocumenttoOutputStream.- Parameters:
document- inputDocumentthat contains XFDF infooutputStream- the output stream- Throws:
javax.xml.transform.TransformerException
-
-