Autopsy  4.8.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 | Static 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

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)
 

Private Attributes

boolean directoryBrowseMode
 

Static Private Attributes

static Logger logger = Logger.getLogger(AbstractFsContentNode.class.getName())
 

Detailed Description

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

Parameters
<T>extends AbstractFile

Definition at line 39 of file AbstractFsContentNode.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.AbstractFsContentNode< AbstractFile >::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.AbstractFsContentNode< AbstractFile >::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.AbstractFsContentNode< T extends AbstractFile >.createSheet ( )
protected

Definition at line 71 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.

Definition at line 245 of file AbstractAbstractFileNode.java.

Referenced by org.sleuthkit.autopsy.datamodel.AbstractFsContentNode< AbstractFile >::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.

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.AbstractFsContentNode< AbstractFile >::createSheet().

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

Definition at line 65 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 469 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
Logger org.sleuthkit.autopsy.datamodel.AbstractFsContentNode< T extends AbstractFile >.logger = Logger.getLogger(AbstractFsContentNode.class.getName())
staticprivate

Definition at line 41 of file AbstractFsContentNode.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.