Package org.opencms.ui.apps.dbmanager
Class CmsImportFile
- java.lang.Object
-
- org.opencms.ui.apps.dbmanager.CmsImportFile
-
public class CmsImportFile extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CmsImportFile(java.lang.String path)
public constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CmsModule
getModule()
Gets the module to import.java.lang.String
getPath()
Gets the path of the file.void
loadAndValidate()
Class to load and validate import module file.
-
-
-
Constructor Detail
-
CmsImportFile
public CmsImportFile(java.lang.String path)
public constructor.- Parameters:
path
- of the file
-
-
Method Detail
-
getPath
public java.lang.String getPath()
Gets the path of the file.- Returns:
- the server path
-
loadAndValidate
public void loadAndValidate() throws CmsConfigurationException
Class to load and validate import module file.- Throws:
CmsConfigurationException
- gets thrown when validation fails
-
-