Autopsy  4.10.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Private Member Functions | Private Attributes | List of all members
org.sleuthkit.autopsy.keywordsearch.KeywordSearchIngestModule.Indexer Class Reference

Private Member Functions

boolean extractStringsAndIndex (AbstractFile aFile)
 
boolean extractTextAndIndex (AbstractFile aFile, String detectedFormat) throws IngesterException
 
void indexFile (AbstractFile aFile, boolean indexContent)
 

Private Attributes

final Logger logger = Logger.getLogger(Indexer.class.getName())
 

Detailed Description

File indexer, processes and indexes known/allocated files, unknown/unallocated files and directories accordingly

Definition at line 463 of file KeywordSearchIngestModule.java.

Member Function Documentation

boolean org.sleuthkit.autopsy.keywordsearch.KeywordSearchIngestModule.Indexer.extractStringsAndIndex ( AbstractFile  aFile)
private
boolean org.sleuthkit.autopsy.keywordsearch.KeywordSearchIngestModule.Indexer.extractTextAndIndex ( AbstractFile  aFile,
String  detectedFormat 
) throws IngesterException
private

Extract text with Tika or other text extraction modules (by streaming) from the file Divide the file into chunks and index the chunks

Parameters
aFilefile to extract strings from, divide into chunks and index
detectedFormatmime-type detected, or null if none detected
Returns
true if the file was text_ingested, false otherwise
Exceptions
IngesterExceptionexception thrown if indexing failed

Definition at line 480 of file KeywordSearchIngestModule.java.

References org.sleuthkit.autopsy.ingest.IngestJobContext.fileIngestIsCancelled(), org.sleuthkit.autopsy.textextractors.TextExtractorFactory.getExtractor(), org.sleuthkit.autopsy.textextractors.TextExtractor.getReader(), and org.sleuthkit.autopsy.textextractors.configs.ImageConfig.setOCREnabled().

void org.sleuthkit.autopsy.keywordsearch.KeywordSearchIngestModule.Indexer.indexFile ( AbstractFile  aFile,
boolean  indexContent 
)
private

Member Data Documentation

final Logger org.sleuthkit.autopsy.keywordsearch.KeywordSearchIngestModule.Indexer.logger = Logger.getLogger(Indexer.class.getName())
private

Definition at line 465 of file KeywordSearchIngestModule.java.


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

Copyright © 2012-2018 Basis Technology. Generated on: Fri Mar 22 2019
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.