Class ContentItemZipUtils
java.lang.Object
com.flowable.platform.service.content.ContentItemZipUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static void
addContentItemToZipOutputStream
(ContentService contentService, ContentItem contentItem, String fileName, ZipOutputStream zipOutputStream) static void
exportContentItemIdsToZipFile
(ContentService contentService, List<CoreContentItem> contentItems, ZipOutputStream zipOutputStream, Map<String, Integer> fileNameOccuranceMap) protected static String
getNumberedFileName
(String fileName, int number)
-
Constructor Details
-
ContentItemZipUtils
public ContentItemZipUtils()
-
-
Method Details
-
exportContentItemIdsToZipFile
public static void exportContentItemIdsToZipFile(ContentService contentService, List<CoreContentItem> contentItems, ZipOutputStream zipOutputStream, Map<String, Integer> fileNameOccuranceMap) -
addContentItemToZipOutputStream
protected static void addContentItemToZipOutputStream(ContentService contentService, ContentItem contentItem, String fileName, ZipOutputStream zipOutputStream) throws IOException - Throws:
IOException
-
getNumberedFileName
-