public class ExportedZipImporter extends AbstractFileImporter
| Constructor and Description | 
|---|
| ExportedZipImporter() | 
| Modifier and Type | Method and Description | 
|---|---|
| DocumentModel | create(CoreSession documentManager,
      Blob content,
      String path,
      boolean overwrite,
      String filename,
      TypeManager typeService)Creates the document. | 
| static ZipFile | getArchiveFileIfValid(File file) | 
compareTo, create, getDocType, getFileManagerService, getFilters, getName, getOrder, isEnabled, matches, setDocType, setEnabled, setFileManagerService, setFilters, setName, setOrderpublic static ZipFile getArchiveFileIfValid(File file) throws IOException
IOExceptionpublic DocumentModel create(CoreSession documentManager, Blob content, String path, boolean overwrite, String filename, TypeManager typeService) throws ClientException, IOException
FileImporterdocumentManager - the manager used to create the Documentcontent - the content of the Filepath - the path of current documentoverwrite - a boolean deciding whether to create or update if we
            find a document with the same fileNamefilename - the filename of the FileClientExceptionIOExceptionCopyright © 2012 Nuxeo SA. All Rights Reserved.