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

Inherits org.sleuthkit.autopsy.datamodel.StringContent.

Public Member Functions

 ArtifactStringContent (BlackboardArtifact artifact)
 
String getString ()
 

Private Member Functions

String escapeHtmlString (String str)
 
String makeTableRow (String type, String value, String source)
 

Private Attributes

final BlackboardArtifact artifact
 
String stringContent = ""
 

Static Private Attributes

static final SimpleDateFormat dateFormatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss")
 
static final Logger logger = Logger.getLogger(ArtifactStringContent.class.getName())
 

Detailed Description

An HTML representation of an artifact. The representation is plain vanilla HTML, so any styling needs to be supplied by the display mechansim. For example, GUI components such as content viewers might use HTMLEditorKit to add styling.

Deprecated:
  • No longer used by DataContentViewerArtifact because the table is no longer HTML

Definition at line 41 of file ArtifactStringContent.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.datamodel.ArtifactStringContent.ArtifactStringContent ( BlackboardArtifact  artifact)

Constructs an HTML representation of an artifact. The representation is plain vanilla HTML, so any styling needs to be supplied by the display mechansim. For example, GUI components such as content viewers might use HTMLEditorKit to add styling.

Parameters
artifactThe artifact to be represented as HTML.

Definition at line 56 of file ArtifactStringContent.java.

References org.sleuthkit.autopsy.datamodel.ArtifactStringContent.artifact.

Member Function Documentation

String org.sleuthkit.autopsy.datamodel.ArtifactStringContent.escapeHtmlString ( String  str)
private
String org.sleuthkit.autopsy.datamodel.ArtifactStringContent.getString ( )
String org.sleuthkit.autopsy.datamodel.ArtifactStringContent.makeTableRow ( String  type,
String  value,
String  source 
)
private

Make a row in the result table

Parameters
typeString for column1 (Type of attribute))
valueString for column2 (value of attribute)
sourceColumn 3 (attribute source)
Returns
HTML formatted string of these values

Definition at line 203 of file ArtifactStringContent.java.

References org.sleuthkit.autopsy.datamodel.ArtifactStringContent.escapeHtmlString().

Referenced by org.sleuthkit.autopsy.datamodel.ArtifactStringContent.getString().

Member Data Documentation

final BlackboardArtifact org.sleuthkit.autopsy.datamodel.ArtifactStringContent.artifact
private
final SimpleDateFormat org.sleuthkit.autopsy.datamodel.ArtifactStringContent.dateFormatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss")
staticprivate

Definition at line 43 of file ArtifactStringContent.java.

final Logger org.sleuthkit.autopsy.datamodel.ArtifactStringContent.logger = Logger.getLogger(ArtifactStringContent.class.getName())
staticprivate

Definition at line 44 of file ArtifactStringContent.java.

String org.sleuthkit.autopsy.datamodel.ArtifactStringContent.stringContent = ""
private

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

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