docs: public void importFolder(String importFolderName, String importPath, CmsObject cms) throws CmsException {
  
          try {
              m_importedResources = new ArrayList<CmsResource>();
              m_importFolderName = importFolderName;
              m_importPath = importPath;
              m_cms = cms;
              // open the import resource
              getImportResource();
              // first lock the destination path
              m_cms.lockResource(m_importPath);
              // import the resources
              if (m_zipStreamIn == null) {
                  importResources(m_importResource, m_importPath);
              } else {
                  importZipResource(m_zipStreamIn, m_importPath, false);
              }
              // all is done, unlock the resources
              m_cms.unlockResource(m_importPath);
          } catch (Exception e) {
              throw new CmsVfsException(
                  Messages.get().container(Messages.ERR_IMPORT_FOLDER_2, importFolderName, importPath),
                  e);
          }
  
      }