Autopsy  4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Static Protected Member Functions | Private Attributes | List of all members
org.sleuthkit.autopsy.datamodel.AbstractFsContentNode< T extends AbstractFile > Class Template Referenceabstract

Inherits org.sleuthkit.autopsy.datamodel.AbstractAbstractFileNode< T >.

Public Member Functions

boolean getDirectoryBrowseMode ()
 

Static Public Member Functions

static void fillPropertyMap (Map< String, Object > map, AbstractFile content)
 

Static Public Attributes

static final String HIDE_PARENT = "hide_parent"
 

Protected Member Functions

void addTagProperty (Sheet.Set sheetSet)
 
Sheet createSheet ()
 
void finalize () throws Throwable
 
List< Tag > getAllTagsFromDatabase ()
 
HasCommentStatus getCommentProperty (List< Tag > tags, List< CorrelationAttributeInstance > attributes)
 
Pair< Long, String > getCountPropertyAndDescription (CorrelationAttributeInstance attributeInstance, String defaultDescription)
 

Static Protected Member Functions

static String getHashSetHitsCsvList (AbstractFile file)
 

Private Attributes

boolean directoryBrowseMode
 

Detailed Description

Abstract class that implements the commonality between File and Directory Nodes (same properties).

Parameters
<T>extends AbstractFile

Definition at line 31 of file AbstractFsContentNode.java.

Member Function Documentation

void org.sleuthkit.autopsy.datamodel.AbstractAbstractFileNode< T extends AbstractFile >.addTagProperty ( Sheet.Set  sheetSet)
protectedinherited

Used by subclasses of AbstractAbstractFileNode to add the tags property to their sheets.

Parameters
sheetSetthe modifiable Sheet.Set returned by Sheet.get(Sheet.PROPERTIES)
Deprecated:

Definition at line 404 of file AbstractAbstractFileNode.java.

Sheet org.sleuthkit.autopsy.datamodel.AbstractFsContentNode< T extends AbstractFile >.createSheet ( )
protected

Definition at line 61 of file AbstractFsContentNode.java.

static void org.sleuthkit.autopsy.datamodel.AbstractAbstractFileNode< T extends AbstractFile >.fillPropertyMap ( Map< String, Object >  map,
AbstractFile  content 
)
staticinherited

Fill map with AbstractFile properties

Parameters
mapmap with preserved ordering, where property names/values are put
contentThe content to get properties for.

TODO JIRA-4421: Deprecate this method and resolve warnings that appear in other locations.

Definition at line 553 of file AbstractAbstractFileNode.java.

void org.sleuthkit.autopsy.datamodel.AbstractAbstractFileNode< T extends AbstractFile >.finalize ( ) throws Throwable
protectedinherited

The finalizer removes event listeners as the BlackboardArtifactNode is being garbage collected. Yes, we know that finalizers are considered to be "bad" but since the alternative also relies on garbage collection being run and we know that finalize will be called when the object is being GC'd it seems like this is a reasonable solution.

Exceptions
Throwable

Definition at line 135 of file AbstractAbstractFileNode.java.

List<Tag> org.sleuthkit.autopsy.datamodel.AbstractAbstractFileNode< T extends AbstractFile >.getAllTagsFromDatabase ( )
protectedinherited

Definition at line 518 of file AbstractAbstractFileNode.java.

HasCommentStatus org.sleuthkit.autopsy.datamodel.AbstractAbstractFileNode< T extends AbstractFile >.getCommentProperty ( List< Tag >  tags,
List< CorrelationAttributeInstance attributes 
)
protectedinherited

Definition at line 460 of file AbstractAbstractFileNode.java.

Pair<Long, String> org.sleuthkit.autopsy.datamodel.AbstractAbstractFileNode< T extends AbstractFile >.getCountPropertyAndDescription ( CorrelationAttributeInstance  attributeInstance,
String  defaultDescription 
)
protectedinherited

Definition at line 438 of file AbstractAbstractFileNode.java.

boolean org.sleuthkit.autopsy.datamodel.AbstractFsContentNode< T extends AbstractFile >.getDirectoryBrowseMode ( )

Definition at line 55 of file AbstractFsContentNode.java.

static String org.sleuthkit.autopsy.datamodel.AbstractAbstractFileNode< T extends AbstractFile >.getHashSetHitsCsvList ( AbstractFile  file)
staticprotectedinherited

Gets a comma-separated values list of the names of the hash sets currently identified as including a given file.

Parameters
fileThe file.
Returns
The CSV list of hash set names.
Deprecated:

Definition at line 423 of file AbstractAbstractFileNode.java.

Member Data Documentation

boolean org.sleuthkit.autopsy.datamodel.AbstractFsContentNode< T extends AbstractFile >.directoryBrowseMode
private
final String org.sleuthkit.autopsy.datamodel.AbstractFsContentNode< T extends AbstractFile >.HIDE_PARENT = "hide_parent"
static

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

Copyright © 2012-2022 Basis Technology. Generated on: Wed Oct 5 2022
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.