Autopsy  4.8.0
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

final void addCommentProperty (Sheet.Set sheetSet, List< ContentTag > tags, CorrelationAttributeInstance attribute)
 
final void addCountProperty (Sheet.Set sheetSet, CorrelationAttributeInstance attribute)
 
final void addScoreProperty (Sheet.Set sheetSet, List< ContentTag > tags)
 
void addTagProperty (Sheet.Set sheetSet)
 
final void addTagProperty (Sheet.Set sheetSet, List< ContentTag > tags)
 
Sheet createSheet ()
 
void finalize () throws Throwable
 
final List< ContentTag > getContentTagsFromDatabase ()
 
final CorrelationAttributeInstance getCorrelationAttributeInstance ()
 

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 53 of file LocalFileNode.java.

Constructor & Destructor Documentation

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

Definition at line 57 of file LocalFileNode.java.

Member Function Documentation

final void org.sleuthkit.autopsy.datamodel.AbstractAbstractFileNode< T extends AbstractFile >.addCommentProperty ( Sheet.Set  sheetSet,
List< ContentTag >  tags,
CorrelationAttributeInstance  attribute 
)
protectedinherited

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

Parameters
sheetSetthe modifiable Sheet.Set returned by Sheet.get(Sheet.PROPERTIES)
tagsthe list of tags associated with the file
attributethe correlation attribute associated with this file, null if central repo is not enabled

Definition at line 304 of file AbstractAbstractFileNode.java.

Referenced by org.sleuthkit.autopsy.datamodel.LocalFileNode::createSheet().

final void org.sleuthkit.autopsy.datamodel.AbstractAbstractFileNode< T extends AbstractFile >.addCountProperty ( Sheet.Set  sheetSet,
CorrelationAttributeInstance  attribute 
)
protectedinherited
final void org.sleuthkit.autopsy.datamodel.AbstractAbstractFileNode< T extends AbstractFile >.addScoreProperty ( Sheet.Set  sheetSet,
List< ContentTag >  tags 
)
protectedinherited

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

Parameters
sheetSetthe modifiable Sheet.Set returned by Sheet.get(Sheet.PROPERTIES)
tagsthe list of tags associated with the file

Definition at line 341 of file AbstractAbstractFileNode.java.

Referenced by org.sleuthkit.autopsy.datamodel.LocalFileNode::createSheet().

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 407 of file AbstractAbstractFileNode.java.

final void org.sleuthkit.autopsy.datamodel.AbstractAbstractFileNode< T extends AbstractFile >.addTagProperty ( Sheet.Set  sheetSet,
List< ContentTag >  tags 
)
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)
tagsthe list of tags associated with the file
Deprecated:

Definition at line 430 of file AbstractAbstractFileNode.java.

Sheet org.sleuthkit.autopsy.datamodel.LocalFileNode.createSheet ( )
protected
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.

Definition at line 245 of file AbstractAbstractFileNode.java.

Referenced by org.sleuthkit.autopsy.datamodel.LocalFileNode::createSheet().

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 103 of file AbstractAbstractFileNode.java.

Action [] org.sleuthkit.autopsy.datamodel.LocalFileNode.getActions ( boolean  context)
final List<ContentTag> org.sleuthkit.autopsy.datamodel.AbstractAbstractFileNode< T extends AbstractFile >.getContentTagsFromDatabase ( )
protectedinherited

Get all tags from the case database that are associated with the file

Returns
a list of tags that are associated with the file

Definition at line 274 of file AbstractAbstractFileNode.java.

Referenced by org.sleuthkit.autopsy.datamodel.LocalFileNode::createSheet().

final CorrelationAttributeInstance org.sleuthkit.autopsy.datamodel.AbstractAbstractFileNode< T extends AbstractFile >.getCorrelationAttributeInstance ( )
protectedinherited
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 469 of file AbstractAbstractFileNode.java.

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

Definition at line 162 of file LocalFileNode.java.

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

this.hasContentChildren();

Definition at line 154 of file LocalFileNode.java.

Member Data Documentation

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

Definition at line 55 of file LocalFileNode.java.


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

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