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

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

Classes

enum  AbstractFilePropertyType
 

Public Member Functions

getContent ()
 
List< ContentgetContentChildren ()
 
int getContentChildrenCount ()
 
List< Long > getContentChildrenIds ()
 
String getName ()
 
boolean hasContentChildren ()
 
int read (byte[] buf, long offset, long len) throws TskException
 
void setName (String name)
 

Static Public Member Functions

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

Protected Member Functions

void addTagProperty (Sheet.Set ss)
 

Private Member Functions

void removeListeners ()
 
void updateSheet ()
 

Static Private Member Functions

static String getHashSetHitsForFile (AbstractFile content)
 

Private Attributes

final PropertyChangeListener pcl
 

Static Private Attributes

static final Logger LOGGER = Logger.getLogger(AbstractAbstractFileNode.class.getName())
 

Detailed Description

An abstract node that encapsulates AbstractFile data

Parameters
<T>type of the AbstractFile to encapsulate

Definition at line 48 of file AbstractAbstractFileNode.java.

Member Function Documentation

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

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

Parameters
ssthe modifiable Sheet.Set returned by Sheet.get(Sheet.PROPERTIES)

Definition at line 307 of file AbstractAbstractFileNode.java.

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

Fill map with AbstractFile properties

Parameters
mapmap with preserved ordering, where property names/values are put
contentto extract properties from

Definition at line 270 of file AbstractAbstractFileNode.java.

Referenced by org.sleuthkit.autopsy.datamodel.AbstractFsContentNode< AbstractFile >.createSheet(), and org.sleuthkit.autopsy.datamodel.LayoutFileNode.fillPropertyMap().

T org.sleuthkit.autopsy.datamodel.AbstractContentNode< T extends Content >.getContent ( )
inherited

Return the content data associated with this node

Returns
the content object wrapped by this node

Definition at line 63 of file AbstractContentNode.java.

List<Content> org.sleuthkit.autopsy.datamodel.AbstractContentNode< T extends Content >.getContentChildren ( )
inherited

Return children of the underlying content.

Returns
list of content children content.

Definition at line 124 of file AbstractContentNode.java.

Referenced by org.sleuthkit.autopsy.directorytree.DirectoryTreeFilterChildren.IsLeafItemVisitor::visitDeep().

int org.sleuthkit.autopsy.datamodel.AbstractContentNode< T extends Content >.getContentChildrenCount ( )
inherited

Get count of the underlying content object children.

Useful for lazy loading.

Returns
content children count

Definition at line 146 of file AbstractContentNode.java.

List<Long> org.sleuthkit.autopsy.datamodel.AbstractContentNode< T extends Content >.getContentChildrenIds ( )
inherited

Return ids of children of the underlying content. The ids can be treated as keys - useful for lazy loading.

Returns
list of content ids of children content.

Definition at line 104 of file AbstractContentNode.java.

static String org.sleuthkit.autopsy.datamodel.AbstractAbstractFileNode< T extends AbstractFile >.getHashSetHitsForFile ( AbstractFile  content)
staticprivate
String org.sleuthkit.autopsy.datamodel.AbstractContentNode< T extends Content >.getName ( )
inherited

Definition at line 74 of file AbstractContentNode.java.

boolean org.sleuthkit.autopsy.datamodel.AbstractContentNode< T extends Content >.hasContentChildren ( )
inherited

Return true if the underlying content object has children Useful for lazy loading.

Returns
true if has children

Definition at line 84 of file AbstractContentNode.java.

Referenced by org.sleuthkit.autopsy.directorytree.DirectoryTreeFilterChildren.IsLeafItemVisitor::visitDeep().

int org.sleuthkit.autopsy.datamodel.AbstractContentNode< T extends Content >.read ( byte[]  buf,
long  offset,
long  len 
) throws TskException
inherited

Reads the content of this node (of the underlying content object).

Parameters
bufbuffer to read into
offsetthe starting offset in the content object
lenthe length to read
Returns
the bytes read
Exceptions
TskExceptionexception thrown if the requested part of content could not be read

Definition at line 172 of file AbstractContentNode.java.

void org.sleuthkit.autopsy.datamodel.AbstractAbstractFileNode< T extends AbstractFile >.removeListeners ( )
private

Definition at line 75 of file AbstractAbstractFileNode.java.

void org.sleuthkit.autopsy.datamodel.AbstractContentNode< T extends Content >.setName ( String  name)
inherited

Definition at line 68 of file AbstractContentNode.java.

Definition at line 126 of file AbstractAbstractFileNode.java.

Member Data Documentation

final Logger org.sleuthkit.autopsy.datamodel.AbstractAbstractFileNode< T extends AbstractFile >.LOGGER = Logger.getLogger(AbstractAbstractFileNode.class.getName())
staticprivate

Definition at line 50 of file AbstractAbstractFileNode.java.

final PropertyChangeListener org.sleuthkit.autopsy.datamodel.AbstractAbstractFileNode< T extends AbstractFile >.pcl
private

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

Copyright © 2012-2016 Basis Technology. Generated on: Mon Apr 24 2017
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.