Class ExcelReportServiceImpl
java.lang.Object
ch.tocco.nice2.reporting.impl.excel.ExcelReportServiceImpl
- All Implemented Interfaces:
ExcelReportService
@Component
@ConditionalOnProperty(value="nice2.reporting.newExcelReportEnabled",
havingValue="false")
@Deprecated
public class ExcelReportServiceImpl
extends Object
implements ExcelReportService
Deprecated.
This has been replaced with a more memory-efficient implementation
NewExcelReportServiceImpl
.
We introduced the new implementation in an already released version v3.1, which is potentially risky,
as there could be bugs we didn't spot. Therefore, the legacy implementation is enabled by default in
older versions which were already released.
As of v3.7, the new implementation is active by default
To disable the new implementation in case of any problems and reactivate this one, the following application
property can be set:
`nice2.reporting.newExcelReportEnabled=false`-
Constructor Summary
ConstructorDescriptionExcelReportServiceImpl
(ExcelBuilderService excelBuilderService, ExcelXmlParser excelXmlParser) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.io.FileBackedOutputStream
processExcelReport
(InputStream excelReport) Deprecated.com.google.common.io.FileBackedOutputStream
processExcelReport
(String excelReport) Deprecated.
-
Constructor Details
-
ExcelReportServiceImpl
public ExcelReportServiceImpl(ExcelBuilderService excelBuilderService, ExcelXmlParser excelXmlParser) Deprecated.
-
-
Method Details
-
processExcelReport
public com.google.common.io.FileBackedOutputStream processExcelReport(String excelReport) throws IOException Deprecated.- Specified by:
processExcelReport
in interfaceExcelReportService
- Throws:
IOException
-
processExcelReport
Deprecated.- Specified by:
processExcelReport
in interfaceExcelReportService
-