public class FdToExcelResult extends Object implements IFdTransformResult, AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.apache.poi.ss.usermodel.Workbook |
getWorkbook() |
void |
writeToFile(File outputFile)
Method to write the transformation result to an file
|
ByteArrayOutputStream |
writeToStream()
Method to return the transformation result as an
ByteArrayOutputStream |
public ByteArrayOutputStream writeToStream()
IFdTransformResultByteArrayOutputStreamwriteToStream in interface IFdTransformResultByteArrayOutputStream of the resultpublic void writeToFile(File outputFile) throws IOException
IFdTransformResultwriteToFile in interface IFdTransformResultoutputFile - the file to write the result toIOExceptionpublic org.apache.poi.ss.usermodel.Workbook getWorkbook()
Workbook which will be exportedpublic void close()
close in interface AutoCloseableCopyright © 2020 XIMA MEDIA GmbH. All rights reserved.