public abstract class MimeTypeGraphPropertyWorker extends GraphPropertyWorker
org.visallo.core.ingest.graphProperty.MimeTypeGraphPropertyWorker.handled.myTextProperty.propertyName=http://my.org#myTextProperty
org.visallo.core.ingest.graphProperty.MimeTypeGraphPropertyWorker.handled.myOtherTextProperty.propertyName=http://my.org#myOtherTextProperty
| Modifier | Constructor and Description |
|---|---|
protected |
MimeTypeGraphPropertyWorker(MimeTypeGraphPropertyWorkerConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(InputStream in,
GraphPropertyWorkData data) |
protected abstract String |
getMimeType(InputStream in,
String fileName) |
boolean |
isHandled(org.vertexium.Element element,
org.vertexium.Property property) |
void |
prepare(GraphPropertyWorkerPrepareData workerPrepareData) |
addVertexToWorkspaceIfNeeded, addVideoTranscriptAsTextPropertiesToMutation, applyTermMentionFilters, getAuthorizationRepository, getAuthorizations, getConfiguration, getGraph, getGraphRepository, getOntologyRepository, getUser, getVisibilityTranslator, getWorkQueueRepository, getWorkspaceRepository, isConceptType, isDeleteHandled, isHiddenHandled, isLocalFileRequired, isTextProperty, isUnhiddenHandled, isVertex, pushChangedPropertiesOnWorkQueue, pushTextUpdated, pushVideoTranscriptTextPropertiesOnWorkQueue, setAuthorizationRepository, setConfiguration, setGraph, setGraphRepository, setOntologyRepository, setVisibilityTranslator, setWorkQueueRepository, setWorkspaceRepository, verify@Inject protected MimeTypeGraphPropertyWorker(MimeTypeGraphPropertyWorkerConfiguration configuration)
public void prepare(GraphPropertyWorkerPrepareData workerPrepareData) throws Exception
prepare in class GraphPropertyWorkerExceptionpublic boolean isHandled(org.vertexium.Element element,
org.vertexium.Property property)
isHandled in class GraphPropertyWorkerpublic void execute(InputStream in, GraphPropertyWorkData data) throws Exception
execute in class GraphPropertyWorkerExceptionprotected abstract String getMimeType(InputStream in, String fileName) throws Exception
ExceptionCopyright © 2013–2016 V5 Analytics. All rights reserved.