Autopsy  4.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
org.sleuthkit.autopsy.datamodel.FileTypesByMimeType.MediaSubTypeNodeChildren Class Reference

Inherits Detachable< Content >, and Observer.

Public Member Functions

void update (Observable o, Object arg)

Protected Member Functions

boolean createKeys (List< Content > list)
Node createNodeForKey (Content key)

Private Member Functions

 MediaSubTypeNodeChildren (String mimeType)
long calculateItems (SleuthkitCase sleuthkitCase, String mime_type)
String createQuery (String mime_type)

Private Attributes

final String mimeType

Detailed Description

Factory for populating the contents of the Media Sub Type Node with the files that match MimeType which is represented by this position in the tree.

Definition at line 399 of file

Constructor & Destructor Documentation

org.sleuthkit.autopsy.datamodel.FileTypesByMimeType.MediaSubTypeNodeChildren.MediaSubTypeNodeChildren ( String  mimeType)

Member Function Documentation

long org.sleuthkit.autopsy.datamodel.FileTypesByMimeType.MediaSubTypeNodeChildren.calculateItems ( SleuthkitCase  sleuthkitCase,
String  mime_type 

Get children count without actually loading all nodes

count(*) - the number of items that will be shown in this items Directory Listing

Definition at line 415 of file

References org::sleuthkit::datamodel::SleuthkitCase.countFilesWhere(), and org.sleuthkit.autopsy.datamodel.FileTypesByMimeType.MediaSubTypeNodeChildren.createQuery().

boolean org.sleuthkit.autopsy.datamodel.FileTypesByMimeType.MediaSubTypeNodeChildren.createKeys ( List< Content list)

Uses the createQuery method to complete the query, Select * from tsk_files WHERE. The results from the database will contain the files which match this mime type and their information.

list- will contain all files and their attributes from the tsk_files table where mime_type matches the one specified

Definition at line 435 of file

References org.sleuthkit.autopsy.datamodel.FileTypesByMimeType.MediaSubTypeNodeChildren.createQuery(), and org::sleuthkit::datamodel::SleuthkitCase.findAllFilesWhere().

Node org.sleuthkit.autopsy.datamodel.FileTypesByMimeType.MediaSubTypeNodeChildren.createNodeForKey ( Content  key)

Creates the content to populate the Directory Listing Table view for each file


Definition at line 487 of file

References org::sleuthkit::datamodel::Content.accept().

String org.sleuthkit.autopsy.datamodel.FileTypesByMimeType.MediaSubTypeNodeChildren.createQuery ( String  mime_type)
void org.sleuthkit.autopsy.datamodel.FileTypesByMimeType.MediaSubTypeNodeChildren.update ( Observable  o,
Object  arg 

Definition at line 474 of file

Member Data Documentation

final String org.sleuthkit.autopsy.datamodel.FileTypesByMimeType.MediaSubTypeNodeChildren.mimeType

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

Copyright © 2012-2016 Basis Technology. Generated on: Mon Apr 24 2017
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.