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

Static Public Member Functions

static Content getDefaultContent (Node node)
 

Detailed Description

Utility classes for content viewers. In theory, this would live in the contentviewer package, but the initial method was needed only be viewers in corecomponents and therefore can stay out of public API.

Definition at line 31 of file DataContentViewerUtility.java.

Member Function Documentation

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

Returns the first non-Blackboard Artifact from a Node. Needed for (at least) Hex and Strings that want to view all types of content (not just AbstractFile), but don't want to display an artifact unless that's the only thing there. Scenario is hash hit or interesting item hit.

Parameters
nodeNode passed into content viewer
Returns
highest priority content or null if there is no content

Definition at line 42 of file DataContentViewerUtility.java.

Referenced by org.sleuthkit.autopsy.texttranslation.ui.TranslatedTextViewer.BackgroundTranslationTask.getFileText(), 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-2018 Basis Technology. Generated on: Wed Sep 18 2019
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.