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

Inherits org.sleuthkit.autopsy.ingest.FileIngestModule.

Public Member Functions

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

Private Member Functions

boolean parsableFormat (AbstractFile f)

Private Attributes

final IngestServices services = IngestServices.getInstance()
final AtomicInteger filesProcessed = new AtomicInteger(0)
volatile boolean filesToFire = false
long jobId
FileTypeDetector fileTypeDetector

Static Private Attributes

static final Logger logger = Logger.getLogger(ExifParserFileIngestModule.class.getName())
static final IngestModuleReferenceCounter refCounter = new IngestModuleReferenceCounter()

Detailed Description

Ingest module to parse image Exif metadata. Currently only supports JPEG files. Ingests an image file and, if available, adds it's date, latitude, longitude, altitude, device model, and device make to a blackboard artifact.

Definition at line 59 of file

Member Function Documentation

boolean org.sleuthkit.autopsy.modules.exif.ExifParserFileIngestModule.parsableFormat ( AbstractFile  f)

Checks if should try to attempt to extract exif. Currently checks if JPEG image (by signature)

ffile to be checked
true if to be processed

Definition at line 205 of file

References org.sleuthkit.autopsy.modules.filetypeid.FileTypeDetector.getFileType().

Referenced by org.sleuthkit.autopsy.modules.exif.ExifParserFileIngestModule.process().

ProcessResult org.sleuthkit.autopsy.modules.exif.ExifParserFileIngestModule.process ( AbstractFile  file)
void org.sleuthkit.autopsy.modules.exif.ExifParserFileIngestModule.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 220 of file

References org.sleuthkit.autopsy.ingest.IngestModuleReferenceCounter.decrementAndGet(), org.sleuthkit.autopsy.ingest.IngestServices.fireModuleDataEvent(), and org::sleuthkit::datamodel::BlackboardArtifact::ARTIFACT_TYPE.TSK_METADATA_EXIF.

void org.sleuthkit.autopsy.modules.exif.ExifParserFileIngestModule.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 73 of file

References org.sleuthkit.autopsy.ingest.IngestModuleReferenceCounter.incrementAndGet().

Member Data Documentation

final AtomicInteger org.sleuthkit.autopsy.modules.exif.ExifParserFileIngestModule.filesProcessed = new AtomicInteger(0)

Definition at line 63 of file

volatile boolean org.sleuthkit.autopsy.modules.exif.ExifParserFileIngestModule.filesToFire = false

Definition at line 64 of file

FileTypeDetector org.sleuthkit.autopsy.modules.exif.ExifParserFileIngestModule.fileTypeDetector

Definition at line 67 of file

long org.sleuthkit.autopsy.modules.exif.ExifParserFileIngestModule.jobId

Definition at line 65 of file

final Logger org.sleuthkit.autopsy.modules.exif.ExifParserFileIngestModule.logger = Logger.getLogger(ExifParserFileIngestModule.class.getName())

Definition at line 61 of file

final IngestModuleReferenceCounter org.sleuthkit.autopsy.modules.exif.ExifParserFileIngestModule.refCounter = new IngestModuleReferenceCounter()

Definition at line 66 of file

final IngestServices = IngestServices.getInstance()

Definition at line 62 of file

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

Copyright © 2012-2015 Basis Technology. Generated on: Mon Oct 19 2015
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.