org.nuxeo.ecm.platform.filemanager.service.extension
Class CSVZipImporter
java.lang.Object
org.nuxeo.ecm.platform.filemanager.service.extension.AbstractFileImporter
org.nuxeo.ecm.platform.filemanager.service.extension.CSVZipImporter
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<FileImporter>, FileImporter
public class CSVZipImporter
- extends AbstractFileImporter
- See Also:
- Serialized Form
Methods inherited from class org.nuxeo.ecm.platform.filemanager.service.extension.AbstractFileImporter |
compareTo, create, getFileManagerService, getFilters, getName, getOrder, isEnabled, matches, setEnabled, setFileManagerService, setFilters, setName, setOrder |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CSVZipImporter
public CSVZipImporter()
getArchiveFileIfValid
public static java.util.zip.ZipFile getArchiveFileIfValid(java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException
create
public DocumentModel create(CoreSession documentManager,
Blob content,
java.lang.String path,
boolean overwrite,
java.lang.String filename,
TypeManager typeService)
throws ClientException,
java.io.IOException
- Description copied from interface:
FileImporter
- Creates the document.
- Parameters:
documentManager
- 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 File
- Throws:
ClientException
java.io.IOException
Copyright © 2010 Nuxeo SAS. All Rights Reserved.