Class ZipImport

  • Direct Known Subclasses:
    InMemoryZipImport

    public class ZipImport
    extends Object
    This is an import utilities that imports documents stored in a zip archive. All folders in the zip will be replicated.
    Author:
    Sebastian Stein, Matteo Caruso - LogicalDOC
    • Constructor Detail

      • ZipImport

        public ZipImport​(Document docVo,
                         String fileNameCharset)
        Constructor.
        Parameters:
        docVo - Value object for the common documents
        fileNameCharset - the charset to use to process the zip
    • Method Detail

      • process

        public void process​(File zipsource,
                            Folder parent,
                            long userId,
                            String sessionId)
      • isNotifyUser

        public boolean isNotifyUser()
      • setNotifyUser

        public void setNotifyUser​(boolean notifyUser)