Class ContentItemZipUtils

java.lang.Object
com.flowable.platform.service.content.ContentItemZipUtils

public class ContentItemZipUtils extends Object
  • Constructor Details

    • ContentItemZipUtils

      public ContentItemZipUtils()
  • Method Details

    • exportContentItemIdsToZipFile

      public static void exportContentItemIdsToZipFile(org.flowable.content.api.ContentService contentService, List<CoreContentItem> contentItems, ZipOutputStream zipOutputStream, Map<String,Integer> fileNameOccuranceMap)
    • addContentItemToZipOutputStream

      protected static void addContentItemToZipOutputStream(org.flowable.content.api.ContentService contentService, org.flowable.content.api.ContentItem contentItem, String fileName, ZipOutputStream zipOutputStream) throws IOException
      Throws:
      IOException
    • getNumberedFileName

      protected static String getNumberedFileName(String fileName, int number)