| java.lang.Object org.opencms.db.CmsImportFolder
CmsImportFolder | public class CmsImportFolder (Code) | | Allows to import resources from the filesystem or a ZIP file into the OpenCms VFS.
author: Alexander Kandzior version: $Revision: 1.40 $ since: 6.0.0 |
CmsImportFolder | public CmsImportFolder(byte[] content, String importPath, CmsObject cms, boolean noSubFolder) throws CmsException(Code) | | Constructor for a new CmsImportFolder that will read from a ZIP file.
Parameters: content - the zip file to import Parameters: importPath - the path to the OpenCms VFS to import to Parameters: cms - a OpenCms context to provide the permissions Parameters: noSubFolder - if false no sub folder will be created throws: CmsException - if something goes wrong |
CmsImportFolder | public CmsImportFolder(String importFolderName, String importPath, CmsObject cms) throws CmsException(Code) | | Constructor for a new CmsImportFolder that will read from the real file system.
Parameters: importFolderName - the folder to import Parameters: importPath - the path to the OpenCms VFS to import to Parameters: cms - a OpenCms context to provide the permissions throws: CmsException - if something goes wrong |
isValidZipFile | public boolean isValidZipFile()(Code) | | Returns true if a valid ZIP file was imported.
true if a valid ZIP file was imported |
|
|