Package de.xima.fc.transform.excel
Class FdToExcelResult
java.lang.Object
de.xima.fc.transform.excel.FdToExcelResult
- All Implemented Interfaces:
IFdTransformResult,AutoCloseable
The result of an transformation of formdata to excel
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()org.apache.poi.ss.usermodel.WorkbookvoidwriteToFile(File outputFile) Method to write the transformation result to an fileMethod to return the transformation result as anByteArrayOutputStream
-
Method Details
-
writeToStream
Description copied from interface:IFdTransformResultMethod to return the transformation result as anByteArrayOutputStream- Specified by:
writeToStreamin interfaceIFdTransformResult- Returns:
ByteArrayOutputStreamof the result
-
writeToFile
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
-
getWorkbook
public org.apache.poi.ss.usermodel.Workbook getWorkbook()- Returns:
- the
Workbookwhich will be exported
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-