Autopsy  4.18.0
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, CorrelationAttributeInstance attribute)
 
CorrelationAttributeInstance getCorrelationAttributeInstance ()
 
Pair< Long, String > getCountPropertyAndDescription (CorrelationAttributeInstance.Type attributeType, String attributeValue, 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 380 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 533 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 128 of file AbstractAbstractFileNode.java.

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

Definition at line 489 of file AbstractAbstractFileNode.java.

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

Definition at line 437 of file AbstractAbstractFileNode.java.

CorrelationAttributeInstance org.sleuthkit.autopsy.datamodel.AbstractAbstractFileNode< T extends AbstractFile >.getCorrelationAttributeInstance ( )
protectedinherited

Definition at line 494 of file AbstractAbstractFileNode.java.

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

Definition at line 414 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 399 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-2021 Basis Technology. Generated on: Thu Jul 8 2021
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.