public class CsvImportManager extends AbstractImportManager
actioner, allowUpdates, currentPosition, framedGraph, importerClass, permissionScope, tolerant
Constructor and Description |
---|
CsvImportManager(com.tinkerpop.frames.FramedGraph<?> framedGraph,
PermissionScope permissionScope,
Actioner actioner,
boolean tolerant,
boolean allowUpdates,
Class<? extends ItemImporter> importerClass) |
Modifier and Type | Method and Description |
---|---|
protected void |
importInputStream(InputStream stream,
String tag,
ActionManager.EventContext context,
ImportLog log)
Import CSV from the given InputStream, as part of the given action.
|
importArchive, importFile, importFiles, importInputStream, isTolerant
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
importInputStream
public CsvImportManager(com.tinkerpop.frames.FramedGraph<?> framedGraph, PermissionScope permissionScope, Actioner actioner, boolean tolerant, boolean allowUpdates, Class<? extends ItemImporter> importerClass)
protected void importInputStream(InputStream stream, String tag, ActionManager.EventContext context, ImportLog log) throws IOException, ValidationError, InputParseError
importInputStream
in class AbstractImportManager
stream
- the input streamcontext
- the event context in which the ingest is happeninglog
- an import log instancetag
- an optional tag identifying the source of the streamIOException
ValidationError
InputParseError
Copyright © 2018 The European Holocaust Research Infrastructure (EHRI). All rights reserved.