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

Inherits org.sleuthkit.autopsy.datamodel.ContentNode.

Public Member Functions

abstract< T > T accept (ContentNodeVisitor< T > v)
 
abstract< T > T accept (DisplayableItemNodeVisitor< T > v)
 
getContent ()
 
List< Content > getContentChildren ()
 
int getContentChildrenCount ()
 
List< Long > getContentChildrenIds ()
 
abstract String getItemType ()
 
String getName ()
 
boolean hasContentChildren ()
 
abstract boolean isLeafTypeNode ()
 
int read (byte[] buf, long offset, long len) throws TskException
 
void setName (String name)
 

Static Private Attributes

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

Detailed Description

Interface class that all Data nodes inherit from. Provides basic information such as ID, parent ID, etc.

Parameters
<T>type of wrapped Content

Definition at line 37 of file AbstractContentNode.java.

Member Function Documentation

abstract <T> T org.sleuthkit.autopsy.datamodel.ContentNode.accept ( ContentNodeVisitor< T >  v)
abstractinherited

Visitor pattern support.

Parameters
vvisitor
Returns
visitor's visit return value
abstract <T> T org.sleuthkit.autopsy.datamodel.DisplayableItemNode.accept ( DisplayableItemNodeVisitor< T >  v)
abstractinherited
T org.sleuthkit.autopsy.datamodel.AbstractContentNode< T extends Content >.getContent ( )

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 ( )

Return children of the underlying content.

Returns
list of content children content.

Definition at line 124 of file AbstractContentNode.java.

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

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 ( )

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.

abstract String org.sleuthkit.autopsy.datamodel.DisplayableItemNode.getItemType ( )
abstractinherited

Returns type of DisplayableItemNode to allow TableFilterNode to pass the information to DataResultViewerTable to allow custom settings for column orderings.

Returns
A String representing the type of node, based on its name and whether or not it wraps any special items (filters, artifact types).
String org.sleuthkit.autopsy.datamodel.AbstractContentNode< T extends Content >.getName ( )

Definition at line 74 of file AbstractContentNode.java.

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

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.

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

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.AbstractContentNode< T extends Content >.setName ( String  name)

Definition at line 68 of file AbstractContentNode.java.

Member Data Documentation

final Logger org.sleuthkit.autopsy.datamodel.AbstractContentNode< T extends Content >.logger = Logger.getLogger(AbstractContentNode.class.getName())
staticprivate

Definition at line 43 of file AbstractContentNode.java.


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

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