code: public void importModule(String importFile) throws Exception {
  
          CmsImportParameters params = new CmsImportParameters(importFile, "/", true);
  
          OpenCms.getImportExportManager().importData(
              m_cms,
              new CmsShellReport(m_cms.getRequestContext().getLocale()),
              params);
      }
docs: Imports a module.<p>
  
  @param importFile the absolute path of the import module file
  
  @throws Exception if something goes wrong
  
  @see org.opencms.importexport.CmsImportExportManager#importData(CmsObject, I_CmsReport, CmsImportParameters)