Autopsy
4.9.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits org.sleuthkit.autopsy.datamodel.ContentNode.
Public Member Functions | |
abstract< T > T | accept (ContentNodeVisitor< T > visitor) |
abstract< T > T | accept (DisplayableItemNodeVisitor< T > visitor) |
NodeSelectionInfo | getChildNodeSelectionInfo () |
T | getContent () |
List< Content > | getContentChildren () |
int | getContentChildrenCount () |
List< Long > | getContentChildrenIds () |
abstract String | getItemType () |
String | getName () |
boolean | hasContentChildren () |
boolean | hasVisibleContentChildren () |
abstract boolean | isLeafTypeNode () |
int | read (byte[] buf, long offset, long len) throws TskException |
void | setChildNodeSelectionInfo (NodeSelectionInfo selectedChildNodeInfo) |
void | setName (String name) |
Static Public Member Functions | |
static boolean | contentHasVisibleContentChildren (Content c) |
Static Private Attributes | |
static final Logger | logger = Logger.getLogger(AbstractContentNode.class.getName()) |
Interface class that all Data nodes inherit from. Provides basic information such as ID, parent ID, etc.
<T> | type of wrapped Content |
Definition at line 44 of file AbstractContentNode.java.
|
abstractinherited |
Visitor pattern support.
visitor | visitor |
|
abstractinherited |
Accepts a visitor DisplayableItemNodeVisitor that will perform an operation on this artifact type and return some object as the result of the operation.
visitor | The visitor, where the type parameter of the visitor is the type of the object that will be returned as the result of the visit operation. |
Referenced by org.sleuthkit.autopsy.directorytree.DataResultFilterNode.getActions(), and org.sleuthkit.autopsy.directorytree.DataResultFilterNode.getPreferredAction().
|
static |
Return true if the given content object has children. Useful for lazy loading.
c | The content object to look for children on |
Definition at line 111 of file AbstractContentNode.java.
Referenced by org.sleuthkit.autopsy.datamodel.AbstractContentNode< Image >.hasVisibleContentChildren(), and org.sleuthkit.autopsy.directorytree.DirectoryTreeFilterChildren.IsLeafItemVisitor.visitDeep().
|
inherited |
Gets information about which child node of this node, if any, should be selected.
Definition at line 141 of file DisplayableItemNode.java.
References org.sleuthkit.autopsy.datamodel.DisplayableItemNode.selectedChildNodeInfo.
T org.sleuthkit.autopsy.datamodel.AbstractContentNode< T extends Content >.getContent | ( | ) |
Return the content data associated with this node
Definition at line 80 of file AbstractContentNode.java.
List<Content> org.sleuthkit.autopsy.datamodel.AbstractContentNode< T extends Content >.getContentChildren | ( | ) |
Return children of the underlying content.
Definition at line 192 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.
Definition at line 214 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.
Definition at line 172 of file AbstractContentNode.java.
|
abstractinherited |
Gets the item type string of the node, suitable for use as a key.
String org.sleuthkit.autopsy.datamodel.AbstractContentNode< T extends Content >.getName | ( | ) |
Definition at line 90 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.
Definition at line 152 of file AbstractContentNode.java.
Referenced by org.sleuthkit.autopsy.directorytree.DirectoryTreeFilterChildren.IsLeafItemVisitor.visit(), and org.sleuthkit.autopsy.directorytree.DirectoryTreeFilterChildren.ShowItemVisitor.visit().
boolean org.sleuthkit.autopsy.datamodel.AbstractContentNode< T extends Content >.hasVisibleContentChildren | ( | ) |
Return true if the underlying content object has children Useful for lazy loading.
Definition at line 100 of file AbstractContentNode.java.
|
abstractinherited |
Indicates whether or not the node is capable of having child nodes. Should only return true if the node is ALWAYS a leaf node.
Referenced by org.sleuthkit.autopsy.directorytree.DirectoryTreeFilterChildren.IsLeafItemVisitor.defaultVisit().
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).
buf | buffer to read into |
offset | the starting offset in the content object |
len | the length to read |
TskException | exception thrown if the requested part of content could not be read |
Definition at line 240 of file AbstractContentNode.java.
|
inherited |
Adds information about which child node of this node, if any, should be selected. Can be null.
selectedChildNodeInfo | The child node selection information. |
Definition at line 130 of file DisplayableItemNode.java.
References org.sleuthkit.autopsy.datamodel.DisplayableItemNode.selectedChildNodeInfo.
Referenced by org.sleuthkit.autopsy.directorytree.ViewContextAction.actionPerformed(), and org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.viewArtifact().
void org.sleuthkit.autopsy.datamodel.AbstractContentNode< T extends Content >.setName | ( | String | name | ) |
Definition at line 85 of file AbstractContentNode.java.
|
staticprivate |
Definition at line 50 of file AbstractContentNode.java.
Copyright © 2012-2018 Basis Technology. Generated on: Tue Dec 18 2018
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.