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

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

Public Member Functions

 ImageNode (Image img)
 
Action[] getActions (boolean context)
 
getContent ()
 
List< Content > getContentChildren ()
 
int getContentChildrenCount ()
 
List< Long > getContentChildrenIds ()
 
String getItemType ()
 
String getName ()
 
boolean hasContentChildren ()
 
boolean hasVisibleContentChildren ()
 
boolean isLeafTypeNode ()
 
int read (byte[] buf, long offset, long len) throws TskException
 
void setName (String name)
 

Static Public Member Functions

static boolean contentHasVisibleContentChildren (Content c)
 

Protected Member Functions

Sheet createSheet ()
 

Private Member Functions

void removeListeners ()
 

Private Attributes

final PropertyChangeListener pcl
 

Static Private Attributes

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

Detailed Description

This class is used to represent the "Node" for the image. The children of this node are volumes.

Definition at line 53 of file ImageNode.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.datamodel.ImageNode.ImageNode ( Image  img)

Member Function Documentation

static boolean org.sleuthkit.autopsy.datamodel.AbstractContentNode< T extends Content >.contentHasVisibleContentChildren ( Content  c)
staticinherited

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

Parameters
cThe content object to look for children on
Returns
true if has children

Definition at line 110 of file AbstractContentNode.java.

References org.sleuthkit.autopsy.casemodule.Case::getCurrentCase(), and org.sleuthkit.autopsy.casemodule.Case::getSleuthkitCase().

Sheet org.sleuthkit.autopsy.datamodel.ImageNode.createSheet ( )
protected
Action [] org.sleuthkit.autopsy.datamodel.ImageNode.getActions ( boolean  context)

Right click action for this node

Parameters
context
Returns

Definition at line 101 of file ImageNode.java.

References org.sleuthkit.autopsy.directorytree.ExplorerNodeActionVisitor.getActions().

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 79 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 180 of file AbstractContentNode.java.

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 202 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 160 of file AbstractContentNode.java.

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

Definition at line 204 of file ImageNode.java.

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

Definition at line 89 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 140 of file AbstractContentNode.java.

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

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

Returns
true if has children

Definition at line 99 of file AbstractContentNode.java.

References org.sleuthkit.autopsy.datamodel.AbstractContentNode< T extends Content >::contentHasVisibleContentChildren().

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

Definition at line 194 of file ImageNode.java.

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 228 of file AbstractContentNode.java.

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

Definition at line 84 of file AbstractContentNode.java.

Member Data Documentation

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

Definition at line 55 of file ImageNode.java.

final PropertyChangeListener org.sleuthkit.autopsy.datamodel.ImageNode.pcl
private

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

Copyright © 2012-2016 Basis Technology. Generated on: Tue Feb 20 2018
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.