19 package org.sleuthkit.autopsy.modules.pictureanalyzer;
21 import java.util.Collection;
23 import org.openide.util.Lookup;
24 import org.openide.util.NbBundle;
43 private Collection<? extends PictureProcessor>
registry;
49 if (!file.isFile() || file.getKnown().equals(TskData.FileKnown.KNOWN) ||
50 (file.getType().equals(TskData.TSK_DB_FILES_TYPE_ENUM.UNALLOC_BLOCKS)
51 || (file.getType().equals(TskData.TSK_DB_FILES_TYPE_ENUM.SLACK)))) {
56 final String fileMimeType = fileTypeDetector.
getMIMEType(file);
58 for (String supportedMimeType : processor.mimeTypes()) {
64 if (supportedMimeType.equalsIgnoreCase(fileMimeType)) {
65 processor.process(context, file);
74 "PictureAnalyzerIngestModule.cannot_run_file_type=Cannot run file type detection."
String getMIMEType(AbstractFile file)
ProcessResult process(AbstractFile file)
void startUp(IngestJobContext context)
boolean fileIngestIsCancelled()
FileTypeDetector fileTypeDetector
Collection<?extends PictureProcessor > registry