19 package org.sleuthkit.autopsy.modules.drones;
21 import java.util.ArrayList;
22 import java.util.List;
23 import java.util.logging.Level;
24 import java.util.logging.Logger;
25 import org.openide.util.NbBundle.Messages;
48 extractors =
new ArrayList<>();
55 extractors.add(
new DATExtractor());
59 "# {0} - AbstractFileName",
60 "DroneIngestModule_process_start=Started {0}"
71 Bundle.DroneIngestModule_process_start(dataSource.getName())));
75 for (DroneExtractor extractor : extractors) {
78 logger.log(Level.INFO,
"Drone ingest has been canceled, quitting before {0}", extractor.getName());
82 progressBar.
progress(extractor.getName());
85 extractor.process(dataSource, context, progressBar);
87 logger.log(Level.SEVERE, String.format(
"Exception thrown from drone extractor %s", extractor.getName()), ex);
static IngestMessage createMessage(MessageType messageType, String source, String subject, String detailsHtml)
void startUp(IngestJobContext context)
void switchToIndeterminate()
static final Logger logger
void postMessage(final IngestMessage message)
final List< DroneExtractor > extractors
boolean dataSourceIngestIsCancelled()
ProcessResult process(Content dataSource, DataSourceIngestModuleProgress progressBar)
void progress(int workUnits)
static synchronized IngestServices getInstance()