public class CmsModuleImportFile extends java.lang.Object
| Constructor and Description |
|---|
CmsModuleImportFile(java.lang.String path)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
CmsModule |
getModule()
Gets the module data.
|
java.lang.String |
getPath()
Gets the path of the zip file.
|
void |
loadAndValidate()
Loads the module data from the zip file and validates whether the module is importable, throwing an exception otherwise.
|
public CmsModuleImportFile(java.lang.String path)
path - the path of the module zip file to importpublic java.lang.String getPath()
public void loadAndValidate() throws CmsConfigurationException
CmsConfigurationException - if the module is not importable for some reason