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()
IFdTransformResult
ByteArrayOutputStream
writeToStream
in interface IFdTransformResult
ByteArrayOutputStream
of the resultpublic void writeToFile(File outputFile) throws IOException
IFdTransformResult
writeToFile
in interface IFdTransformResult
outputFile
- the file to write the result toIOException
public org.apache.poi.ss.usermodel.Workbook getWorkbook()
Workbook
which will be exportedpublic void close()
close
in interface AutoCloseable
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.