@Component(value="report_ReportZipUtils") public class ReportZipUtilsImpl extends java.lang.Object implements ReportZipUtils
Constructor and Description |
---|
ReportZipUtilsImpl() |
Modifier and Type | Method and Description |
---|---|
byte[] |
createZipArchive(java.util.List<com.haulmont.yarg.reporting.ReportOutputDocument> reportOutputDocuments)
Method creates a zip archive containing files from
reportOutputDocuments . |
public byte[] createZipArchive(java.util.List<com.haulmont.yarg.reporting.ReportOutputDocument> reportOutputDocuments)
ReportZipUtils
reportOutputDocuments
. 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.createZipArchive
in interface ReportZipUtils
reportOutputDocuments
- a collection of ReportOutputDocument