Autopsy  4.16.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Private Attributes | List of all members
org.sleuthkit.autopsy.modules.pictureanalyzer.PictureAnalyzerIngestModule Class Reference

Inherits org.sleuthkit.autopsy.ingest.FileIngestModuleAdapter.

Public Member Functions

ProcessResult process (AbstractFile file)
void shutDown ()
void startUp (IngestJobContext context) throws IngestModuleException

Private Attributes

IngestJobContext context
FileTypeDetector fileTypeDetector
Collection<?extends PictureProcessorregistry

Detailed Description

Ingest module to do arbitrary work on image files. Some examples include extracting EXIF, converting between formats, and creating thumbnails. This module acts as a container for multiple PictureProcessors, which are the classes that do the work mentioned in the examples above.

Definition at line 40 of file

Member Function Documentation

ProcessResult org.sleuthkit.autopsy.modules.pictureanalyzer.PictureAnalyzerIngestModule.process ( AbstractFile  file)

Processes a file. Called between calls to startUp() and shutDown(). Will be called for each file in a data source.

fileThe file to analyze.
A result code indicating success or failure of the processing.

Implements org.sleuthkit.autopsy.ingest.FileIngestModule.

Definition at line 47 of file

References org.sleuthkit.autopsy.ingest.IngestJobContext.fileIngestIsCancelled(), org.sleuthkit.autopsy.modules.filetypeid.FileTypeDetector.getMIMEType(), and org.sleuthkit.autopsy.ingest.IngestModule.ProcessResult.OK.

void org.sleuthkit.autopsy.ingest.FileIngestModuleAdapter.shutDown ( )

Invoked by Autopsy when an ingest job is completed (either because the data has been analyzed or because the job was canceled - check IngestJobContext.fileIngestIsCancelled()), before the ingest module instance is discarded. The module should respond by doing things like releasing private resources, submitting final results, and posting a final ingest message.

Implements org.sleuthkit.autopsy.ingest.FileIngestModule.

Definition at line 37 of file

void org.sleuthkit.autopsy.modules.pictureanalyzer.PictureAnalyzerIngestModule.startUp ( IngestJobContext  context) throws IngestModuleException

Invoked by Autopsy to allow an ingest module instance to set up any internal data structures and acquire any private resources it will need during an ingest job. If the module depends on loading any resources, it should do so in this method so that it can throw an exception in the case of an error and alert the user. Exceptions that are thrown from process() and shutDown() are logged, but do not stop processing of the data source.

contextProvides data and services specific to the ingest job and the ingest pipeline of which the module is a part.

Implements org.sleuthkit.autopsy.ingest.IngestModule.

Definition at line 76 of file

References org.sleuthkit.autopsy.modules.pictureanalyzer.PictureAnalyzerIngestModule.context.

Member Data Documentation

IngestJobContext org.sleuthkit.autopsy.modules.pictureanalyzer.PictureAnalyzerIngestModule.context
FileTypeDetector org.sleuthkit.autopsy.modules.pictureanalyzer.PictureAnalyzerIngestModule.fileTypeDetector

Definition at line 42 of file

Collection<? extends PictureProcessor> org.sleuthkit.autopsy.modules.pictureanalyzer.PictureAnalyzerIngestModule.registry

Definition at line 43 of file

The documentation for this class was generated from the following file:

Copyright © 2012-2020 Basis Technology. Generated on: Tue Sep 22 2020
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.