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

Inherits org.sleuthkit.autopsy.ingest.FileIngestModule.

Classes

class  IngestJobTotals
 

Public Member Functions

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

Static Public Member Functions

static boolean isMimeTypeDetectable (String mimeType)
 

Static Private Member Functions

static synchronized void addToTotals (long jobId, long matchTimeInc)
 

Private Attributes

final FileTypeIdModuleSettings settings
 
long jobId
 
FileTypeDetector fileTypeDetector
 

Static Private Attributes

static final Logger logger = Logger.getLogger(FileTypeIdIngestModule.class.getName())
 
static final HashMap< Long, IngestJobTotalstotalsForIngestJobs = new HashMap<>()
 
static final IngestModuleReferenceCounter refCounter = new IngestModuleReferenceCounter()
 

Detailed Description

Detects the type of a file based on signature (magic) values. Posts results to the blackboard.

Definition at line 38 of file FileTypeIdIngestModule.java.

Member Function Documentation

static synchronized void org.sleuthkit.autopsy.modules.filetypeid.FileTypeIdIngestModule.addToTotals ( long  jobId,
long  matchTimeInc 
)
staticprivate

Update the match time total and increment number of files processed for this ingest job.

Parameters
jobIdThe ingest job identifier.
matchTimeIncAmount of time to add.

Definition at line 158 of file FileTypeIdIngestModule.java.

Referenced by org.sleuthkit.autopsy.modules.filetypeid.FileTypeIdIngestModule.process().

static boolean org.sleuthkit.autopsy.modules.filetypeid.FileTypeIdIngestModule.isMimeTypeDetectable ( String  mimeType)
static

Validate if a given mime type is in the detector's registry.

Deprecated:
Use FileTypeDetector.mimeTypeIsDetectable(String mimeType) instead.
Parameters
mimeTypeFull string of mime type, e.g. "text/html"
Returns
true if detectable

Definition at line 56 of file FileTypeIdIngestModule.java.

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

ProcessResult org.sleuthkit.autopsy.modules.filetypeid.FileTypeIdIngestModule.process ( AbstractFile  file)
void org.sleuthkit.autopsy.modules.filetypeid.FileTypeIdIngestModule.shutDown ( )
void org.sleuthkit.autopsy.modules.filetypeid.FileTypeIdIngestModule.startUp ( IngestJobContext  context) throws IngestModuleException

Member Data Documentation

FileTypeDetector org.sleuthkit.autopsy.modules.filetypeid.FileTypeIdIngestModule.fileTypeDetector
private

Definition at line 45 of file FileTypeIdIngestModule.java.

long org.sleuthkit.autopsy.modules.filetypeid.FileTypeIdIngestModule.jobId
private

Definition at line 42 of file FileTypeIdIngestModule.java.

final Logger org.sleuthkit.autopsy.modules.filetypeid.FileTypeIdIngestModule.logger = Logger.getLogger(FileTypeIdIngestModule.class.getName())
staticprivate

Definition at line 40 of file FileTypeIdIngestModule.java.

final IngestModuleReferenceCounter org.sleuthkit.autopsy.modules.filetypeid.FileTypeIdIngestModule.refCounter = new IngestModuleReferenceCounter()
staticprivate

Definition at line 44 of file FileTypeIdIngestModule.java.

final FileTypeIdModuleSettings org.sleuthkit.autopsy.modules.filetypeid.FileTypeIdIngestModule.settings
private

Definition at line 41 of file FileTypeIdIngestModule.java.

final HashMap<Long, IngestJobTotals> org.sleuthkit.autopsy.modules.filetypeid.FileTypeIdIngestModule.totalsForIngestJobs = new HashMap<>()
staticprivate

Definition at line 43 of file FileTypeIdIngestModule.java.


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.