Package io.jmix.reports.util
Interface ReportZipUtils
- All Known Implementing Classes:
ReportZipUtilsImpl
public interface ReportZipUtils
Interface contains utility methods for working with report zip archives
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
createZipArchive
(List<com.haulmont.yarg.reporting.ReportOutputDocument> reportOutputDocuments) Method creates a zip archive containing files fromreportOutputDocuments
.
-
Method Details
-
createZipArchive
byte[] createZipArchive(List<com.haulmont.yarg.reporting.ReportOutputDocument> reportOutputDocuments) 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.- Parameters:
reportOutputDocuments
- a collection ofReportOutputDocument
- Returns:
- a byte array of zip archive containing files with report execution result
-