Package com.logicaldoc.core.transfer
Class ZipImport
java.lang.Object
com.logicaldoc.core.transfer.ZipImport
- Direct Known Subclasses:
InMemoryZipImport
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 Summary
-
Method Summary
-
Constructor Details
-
ZipImport
Constructor.- Parameters:
docVo
- Value object for the common documentsfileNameCharset
- the charset to use to process the zip
-
-
Method Details
-
process
public void process(File zipsource, Folder parent, long userId, String sessionId) throws PersistenceException - Throws:
PersistenceException
-
process
public void process(String zipsource, Folder parent, long userId, String sessionId) throws PersistenceException - Throws:
PersistenceException
-
isNotifyUser
public boolean isNotifyUser() -
setNotifyUser
public void setNotifyUser(boolean notifyUser)
-