code: public void importZip(byte[] content, String importPath, CmsObject cms, boolean noSubFolder) throws CmsException {
  
          m_importPath = importPath;
          m_cms = cms;
          try {
              // open the import resource
              m_zipStreamIn = new ZipInputStream(new ByteArrayInputStream(content));
              m_cms.readFolder(importPath, CmsResourceFilter.IGNORE_EXPIRATION);
              // import the resources
              importZipResource(m_zipStreamIn, m_importPath, noSubFolder);
          } catch (Exception e) {
              throw new CmsVfsException(Messages.get().container(Messages.ERR_IMPORT_FOLDER_1, importPath), e);
          }
  
      }
docs: Import 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