Package io.jmix.reports.util.impl
Class ReportZipUtilsImpl
java.lang.Object
io.jmix.reports.util.impl.ReportZipUtilsImpl
- All Implemented Interfaces:
ReportZipUtils
@Component("report_ReportZipUtils")
public class ReportZipUtilsImpl
extends Object
implements ReportZipUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
createZipArchive
(List<ReportOutputDocument> reportOutputDocuments) Method creates a zip archive containing files fromreportOutputDocuments
.
-
Constructor Details
-
ReportZipUtilsImpl
public ReportZipUtilsImpl()
-
-
Method Details
-
createZipArchive
Description copied from interface:ReportZipUtils
Method creates a zip archive containing files fromreportOutputDocuments
. If multiple documents declare the same file name then file names inside the archive will be modified - an order number will be added to the file name.- Specified by:
createZipArchive
in interfaceReportZipUtils
- Parameters:
reportOutputDocuments
- a collection ofReportOutputDocument
- Returns:
- a byte array of zip archive containing files with report execution result
-