public class CSVZipImporter extends AbstractFileImporter
DISABLE_AUDIT_LOGGER, docType, enabled, fileManagerService, filters, name, order, patterns, SKIP_UPDATE_AUDIT_LOGGING| Constructor and Description | 
|---|
CSVZipImporter()  | 
| Modifier and Type | Method and Description | 
|---|---|
DocumentModel | 
createOrUpdate(FileImporterContext context)
Returns a created or updated document based on the given  
context. | 
static ZipFile | 
getArchiveFileIfValid(File file)  | 
protected Serializable | 
getFieldValue(Field field,
             String stringValue,
             ZipFile zip)  | 
boolean | 
isOneToMany()
Returns  
true if FileImporter.createOrUpdate(FileImporterContext) creates more than one document for the given
 blob, false otherwise. | 
checkIn, checkInAfterAdd, compareTo, create, createDocument, doSecurityCheck, doSecurityCheck, getBlob, getDefaultDocType, getDocType, getDocType, getFileManagerService, getFilters, getName, getNearestContainerPath, getOrder, isEnabled, isOverwriteByTitle, matches, setDocType, setEnabled, setFileManagerService, setFilters, setName, setOrder, skipCheckInForBlob, updateDocument, updateDocumentIfPossiblepublic CSVZipImporter()
public static ZipFile getArchiveFileIfValid(File file) throws IOException
IOExceptionpublic boolean isOneToMany()
FileImportertrue if FileImporter.createOrUpdate(FileImporterContext) creates more than one document for the given
 blob, false otherwise.isOneToMany in interface FileImporterisOneToMany in class AbstractFileImporterpublic DocumentModel createOrUpdate(FileImporterContext context) throws IOException
FileImportercontext.createOrUpdate in interface FileImportercreateOrUpdate in class AbstractFileImporterIOExceptionFileImporterContextprotected Serializable getFieldValue(Field field, String stringValue, ZipFile zip)
Copyright © 2019 Nuxeo. All rights reserved.