Autopsy  4.19.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Static Public Member Functions | Private Member Functions | List of all members
org.sleuthkit.autopsy.corecomponents.DataContentViewerUtility Class Reference

Static Public Member Functions

static Content getDefaultContent (Node node)
 

Private Member Functions

 DataContentViewerUtility ()
 

Detailed Description

Utility methods for content viewers.

Definition at line 28 of file DataContentViewerUtility.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.corecomponents.DataContentViewerUtility.DataContentViewerUtility ( )
private

Definition at line 58 of file DataContentViewerUtility.java.

Member Function Documentation

static Content org.sleuthkit.autopsy.corecomponents.DataContentViewerUtility.getDefaultContent ( Node  node)
static

Gets a Content object from the Lookup of a display Node object, preferring to return any Content object other than a BlackboardArtifact object.

Parameters
nodeA display Node object.
Returns
If there are multiple Content objects associated with the Node, the first Content object that is not a BlackboardArtifact object is returned. If no Content objects other than artifacts are found, the first BlackboardArtifact object found is returned. If no Content objects are found, null is returned.

Definition at line 43 of file DataContentViewerUtility.java.

Referenced by org.sleuthkit.autopsy.contentviewers.textcontentviewer.StringsTextViewer.isSupported(), org.sleuthkit.autopsy.corecomponents.DataContentViewerHex.isSupported(), org.sleuthkit.autopsy.contentviewers.textcontentviewer.StringsTextViewer.setNode(), and org.sleuthkit.autopsy.corecomponents.DataContentViewerHex.setNode().


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

Copyright © 2012-2021 Basis Technology. Generated on: Fri Aug 6 2021
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.