/** * Constructor for a new CmsImportFolder that will read from a ZIP file.<p> * * @param content the zip file to import * @param importPath the path to the OpenCms VFS to import to * @param cms a OpenCms context to provide the permissions * @param noSubFolder if <code>true</code> no sub folders will be created, if <code>false</code> the content of the * zip file is created 1:1 inclusive sub folders * * @throws CmsException if something goes wrong */ public CmsImportFolder(byte[] content, String importPath, CmsObject cms, boolean noSubFolder) throws CmsException { importZip(content, importPath, cms, noSubFolder); }
importZip.importZip(content, targetFolder, cms, false); } finally {