Autopsy
4.12.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits Observable, and org.sleuthkit.autopsy.datamodel.AutopsyVisitableItem.
Classes | |
class | ByMimeTypeNode |
class | ByMimeTypeNodeChildren |
class | MediaSubTypeNode |
class | MediaSubTypeNodeChildren |
class | MediaTypeNode |
class | MediaTypeNodeChildren |
Static Public Member Functions | |
static boolean | isEmptyMimeTypeNode (Node node) |
Private Member Functions | |
String | createBaseWhereExpr () |
void | populateHashMap () |
void | removeListeners () |
Private Attributes | |
final HashMap< String, Map< String, Long > > | existingMimeTypeCounts = new HashMap<>() |
final PropertyChangeListener | pcl |
final SleuthkitCase | skCase |
final FileTypes | typesRoot |
Static Private Attributes | |
static final Set< Case.Events > | CASE_EVENTS_OF_INTEREST = EnumSet.of(Case.Events.DATA_SOURCE_ADDED, Case.Events.CURRENT_CASE) |
static final Set< IngestManager.IngestJobEvent > | INGEST_JOB_EVENTS_OF_INTEREST = EnumSet.of(IngestManager.IngestJobEvent.COMPLETED, IngestManager.IngestJobEvent.CANCELLED) |
static final Logger | logger = Logger.getLogger(FileTypesByMimeType.class.getName()) |
Class which contains the Nodes for the 'By Mime Type' view located in the File Types view, shows all files with a mime type. Will initially be empty until file type identification has been performed. Contains a Property Change Listener which is checking for changes in IngestJobEvent Completed or Canceled and IngestModuleEvent Content Changed.
Definition at line 61 of file FileTypesByMimeType.java.
|
private |
Create the base expression used as the where clause in the queries for files by mime type. Filters out certain kinds of files and directories, and known/slack files based on user preferences.
Definition at line 94 of file FileTypesByMimeType.java.
Referenced by org.sleuthkit.autopsy.datamodel.FileTypesByMimeType.MediaSubTypeNodeChildren.makeKeys(), and org.sleuthkit.autopsy.datamodel.FileTypesByMimeType.populateHashMap().
|
static |
Method to check if the node in question is a ByMimeTypeNode which is empty.
node | the Node which you wish to check. |
Definition at line 206 of file FileTypesByMimeType.java.
|
private |
Performs the query on the database to get all distinct MIME types of files in it, and populate the hashmap with those results.
Definition at line 118 of file FileTypesByMimeType.java.
References org.sleuthkit.autopsy.datamodel.FileTypesByMimeType.createBaseWhereExpr(), and org.sleuthkit.autopsy.datamodel.FileTypesByMimeType.existingMimeTypeCounts.
|
private |
Definition at line 108 of file FileTypesByMimeType.java.
References org.sleuthkit.autopsy.datamodel.FileTypesByMimeType.CASE_EVENTS_OF_INTEREST, org.sleuthkit.autopsy.ingest.IngestManager.getInstance(), org.sleuthkit.autopsy.casemodule.Case.removeEventTypeSubscriber(), and org.sleuthkit.autopsy.ingest.IngestManager.removeIngestJobEventListener().
|
staticprivate |
Definition at line 84 of file FileTypesByMimeType.java.
Referenced by org.sleuthkit.autopsy.datamodel.FileTypesByMimeType.removeListeners().
|
private |
The nodes of this tree will be determined dynamically by the mimetypes which exist in the database. This hashmap will store them with the media type as the key and a Map, from media subtype to count, as the value.
Definition at line 71 of file FileTypesByMimeType.java.
Referenced by org.sleuthkit.autopsy.datamodel.FileTypesByMimeType.ByMimeTypeNodeChildren.createKeys(), and org.sleuthkit.autopsy.datamodel.FileTypesByMimeType.populateHashMap().
|
staticprivate |
Definition at line 64 of file FileTypesByMimeType.java.
|
staticprivate |
Definition at line 63 of file FileTypesByMimeType.java.
|
private |
The pcl is in the class because it has the easiest mechanisms to add and remove itself during its life cycles.
Definition at line 82 of file FileTypesByMimeType.java.
|
private |
Definition at line 65 of file FileTypesByMimeType.java.
|
private |
Root of the File Types tree. Used to provide single answer to question: Should the child counts be shown next to the nodes?
Definition at line 76 of file FileTypesByMimeType.java.
Copyright © 2012-2018 Basis Technology. Generated on: Wed Sep 18 2019
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.