19 package org.sleuthkit.autopsy.casemodule;
21 import java.util.List;
33 class StreamingAddImageTaskCallback
implements AddImageTaskCallback {
35 private final IngestStream ingestStream;
36 private final DataSourceProcessorCallback dspCallback;
48 StreamingAddImageTaskCallback(IngestStream ingestStream, DataSourceProcessorCallback dspCallback) {
49 this.ingestStream = ingestStream;
50 this.dspCallback = dspCallback;
61 public void onCompleted(DataSourceProcessorResult result, List<String> errList, List<Content> newDataSources) {
63 dspCallback.done(result, errList, newDataSources);