Autopsy  4.16.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

Constructor & Destructor Documentation

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

Definition at line 61 of file

Member Function Documentation

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

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

This method was written with the needs of the hex and strings content viewers in mind - the algorithm is exactly what those viewers require.

nodeA display Node object.
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 46 of file

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

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

Copyright © 2012-2020 Basis Technology. Generated on: Tue Sep 22 2020
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.