Autopsy
4.17.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits org.sleuthkit.autopsy.textextractors.TextExtractor.
Public Member Functions | |
TextFileExtractor (AbstractFile file) | |
default Map< String, String > | getMetadata () |
Reader | getReader () throws InitReaderException |
boolean | isSupported () |
default void | setExtractionSettings (Lookup context) |
Private Member Functions | |
Reader | getReader (Charset encoding) |
Private Attributes | |
Charset | encoding = null |
final AbstractFile | file |
Static Private Attributes | |
static final Logger | logger = Logger.getLogger(TextFileExtractor.class.getName()) |
static final String | PLAIN_TEXT_MIME_TYPE = "text/plain" |
A TextExtractor that is used to extract text from a text file.
Definition at line 39 of file TextFileExtractor.java.
org.sleuthkit.autopsy.textextractors.TextFileExtractor.TextFileExtractor | ( | AbstractFile | file | ) |
Constructs a TextExtractor that is used to extract text from a text file.
file | The file. |
Definition at line 52 of file TextFileExtractor.java.
References org.sleuthkit.autopsy.textextractors.TextFileExtractor.file.
|
inherited |
Retrieves content metadata, if any.
Definition at line 72 of file TextExtractor.java.
Referenced by org.sleuthkit.autopsy.keywordsearch.KeywordSearchIngestModule.Indexer.extractTextAndIndex().
Reader org.sleuthkit.autopsy.textextractors.TextFileExtractor.getReader | ( | ) | throws InitReaderException |
Get a Reader that will iterate over the text extracted from the Content passed into org.sleuthkit.autopsy.textextractors.TextExtractorFactory.
Implements org.sleuthkit.autopsy.textextractors.TextExtractor.
Definition at line 57 of file TextFileExtractor.java.
References org.sleuthkit.autopsy.coreutils.textutils.EncodingUtils.getEncoding(), and org.sleuthkit.autopsy.coreutils.textutils.EncodingUtils.UNKNOWN_CHARSET.
Referenced by org.sleuthkit.autopsy.keywordsearch.KeywordSearchIngestModule.Indexer.indexTextFile().
|
private |
Definition at line 74 of file TextFileExtractor.java.
boolean org.sleuthkit.autopsy.textextractors.TextFileExtractor.isSupported | ( | ) |
Determines if this extractor supports the given Content and configurations passed into it in org.sleuthkit.autopsy.textextractors.TextExtractorFactory.
Implements org.sleuthkit.autopsy.textextractors.TextExtractor.
Definition at line 79 of file TextFileExtractor.java.
References org.sleuthkit.autopsy.modules.filetypeid.FileTypeDetector.getMIMEType().
|
inherited |
Determines how the extraction process will proceed given the settings stored in the context instance.
context | Instance containing file config classes |
Definition at line 63 of file TextExtractor.java.
Referenced by org.sleuthkit.autopsy.textextractors.TextExtractorFactory.getExtractor().
|
private |
Definition at line 45 of file TextFileExtractor.java.
|
private |
Definition at line 42 of file TextFileExtractor.java.
Referenced by org.sleuthkit.autopsy.textextractors.TextFileExtractor.TextFileExtractor().
|
staticprivate |
Definition at line 41 of file TextFileExtractor.java.
|
staticprivate |
Definition at line 43 of file TextFileExtractor.java.
Copyright © 2012-2021 Basis Technology. Generated on: Tue Jan 19 2021
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.