Package de.xima.fc.transform.xml
Class FdToXmlResult
- java.lang.Object
-
- de.xima.fc.transform.xml.FdToXmlResult
-
- All Implemented Interfaces:
IFdTransformResult,AutoCloseable
public class FdToXmlResult extends Object implements IFdTransformResult, AutoCloseable
The result of an transformation of formdata to XML- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()RootFdXmlgetRootFdXml()voidwriteToFile(File outputFile)Method to write the transformation result to an fileByteArrayOutputStreamwriteToStream()Method to return the transformation result as anByteArrayOutputStream
-
-
-
Method Detail
-
writeToStream
public ByteArrayOutputStream writeToStream()
Description copied from interface:IFdTransformResultMethod to return the transformation result as anByteArrayOutputStream- Specified by:
writeToStreamin interfaceIFdTransformResult- Returns:
ByteArrayOutputStreamof the result
-
writeToFile
public void writeToFile(File outputFile) throws IOException
Description copied from interface:IFdTransformResultMethod to write the transformation result to an file- Specified by:
writeToFilein interfaceIFdTransformResult- Parameters:
outputFile- the file to write the result to- Throws:
IOException
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable
-
-