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

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

Public Member Functions

 LocalFileNode (AbstractFile af)
 
Action[] getActions (boolean context)
 
String getItemType ()
 
boolean isLeafTypeNode ()
 

Static Public Member Functions

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

Protected Member Functions

void addTagProperty (Sheet.Set sheetSet)
 
synchronized 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)
 

Static Private Attributes

static final Logger logger = Logger.getLogger(LocalFileNode.class.getName())
 

Detailed Description

A Node for a LocalFile or DerivedFile content object.

Definition at line 48 of file LocalFileNode.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.datamodel.LocalFileNode.LocalFileNode ( AbstractFile  af)

Definition at line 52 of file LocalFileNode.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.

synchronized Sheet org.sleuthkit.autopsy.datamodel.AbstractAbstractFileNode< T extends AbstractFile >.createSheet ( )
protectedinherited

Definition at line 268 of file AbstractAbstractFileNode.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.

Action [] org.sleuthkit.autopsy.datamodel.LocalFileNode.getActions ( boolean  context)
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.

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.

String org.sleuthkit.autopsy.datamodel.LocalFileNode.getItemType ( )

Definition at line 129 of file LocalFileNode.java.

boolean org.sleuthkit.autopsy.datamodel.LocalFileNode.isLeafTypeNode ( )

this.hasContentChildren();

Definition at line 121 of file LocalFileNode.java.

Member Data Documentation

final Logger org.sleuthkit.autopsy.datamodel.LocalFileNode.logger = Logger.getLogger(LocalFileNode.class.getName())
staticprivate

Definition at line 50 of file LocalFileNode.java.


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

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