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 TypeMethodDescriptionvoid
close()
org.apache.poi.ss.usermodel.Workbook
void
writeToFile
(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:IFdTransformResult
Method to return the transformation result as anByteArrayOutputStream
- Specified by:
writeToStream
in interfaceIFdTransformResult
- Returns:
ByteArrayOutputStream
of the result
-
writeToFile
Description copied from interface:IFdTransformResult
Method to write the transformation result to an file- Specified by:
writeToFile
in interfaceIFdTransformResult
- Parameters:
outputFile
- the file to write the result to- Throws:
IOException
-
getWorkbook
public org.apache.poi.ss.usermodel.Workbook getWorkbook()- Returns:
- the
Workbook
which will be exported
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-