Autopsy  4.16.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Private Member Functions | Private Attributes | Static Private Attributes | List of all members
org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultArtifactContentViewer.ResultsTableArtifact Class Reference

Private Member Functions

void addRows (BlackboardArtifact artifact)
 
void appendJsonElementToString (String jsonKey, JsonElement jsonElement, String startIndent, StringBuilder sb)
 
String epochTimeToString (long epochTime)
 
String[][] getRows ()
 
String toJsonDisplayString (JsonElement element, String startIndent)
 

Private Attributes

final String artifactDisplayName
 
final Content content
 
final SimpleDateFormat dateFormatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss", Locale.US)
 
String[][] rowData = null
 

Static Private Attributes

static final String INDENT_RIGHT = " "
 
static final String NEW_LINE = "\n"
 

Detailed Description

This class is a container to hold the data necessary for the artifact being viewed.

Definition at line 307 of file DefaultArtifactContentViewer.java.

Member Function Documentation

void org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultArtifactContentViewer.ResultsTableArtifact.addRows ( BlackboardArtifact  artifact)
private

Definition at line 331 of file DefaultArtifactContentViewer.java.

void org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultArtifactContentViewer.ResultsTableArtifact.appendJsonElementToString ( String  jsonKey,
JsonElement  jsonElement,
String  startIndent,
StringBuilder  sb 
)
private

Converts the given JSON element into string and appends to the given string builder.

Parameters
jsonKey
jsonElement
startIndentStarting indentation for the element.
sbString builder to append to.

Definition at line 439 of file DefaultArtifactContentViewer.java.

String org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultArtifactContentViewer.ResultsTableArtifact.epochTimeToString ( long  epochTime)
private

Converts epoch time to readable string.

Parameters
epochTimeepoch time value to be converted to string.
Returns
String with human readable time.

Definition at line 473 of file DefaultArtifactContentViewer.java.

References org.sleuthkit.autopsy.datamodel.ContentUtils.getTimeZone().

String [][] org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultArtifactContentViewer.ResultsTableArtifact.getRows ( )
private
String org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultArtifactContentViewer.ResultsTableArtifact.toJsonDisplayString ( JsonElement  element,
String  startIndent 
)
private

Recursively converts a JSON element into an indented multi-line display string.

Parameters
elementJSON element to convert
startIndentStarting indentation for the element.
Returns
A multi-line display string.

Definition at line 414 of file DefaultArtifactContentViewer.java.

Member Data Documentation

final String org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultArtifactContentViewer.ResultsTableArtifact.artifactDisplayName
private

Definition at line 311 of file DefaultArtifactContentViewer.java.

final Content org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultArtifactContentViewer.ResultsTableArtifact.content
private

Definition at line 312 of file DefaultArtifactContentViewer.java.

final SimpleDateFormat org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultArtifactContentViewer.ResultsTableArtifact.dateFormatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss", Locale.US)
private

Definition at line 309 of file DefaultArtifactContentViewer.java.

final String org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultArtifactContentViewer.ResultsTableArtifact.INDENT_RIGHT = " "
staticprivate

Definition at line 402 of file DefaultArtifactContentViewer.java.

final String org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultArtifactContentViewer.ResultsTableArtifact.NEW_LINE = "\n"
staticprivate

Definition at line 403 of file DefaultArtifactContentViewer.java.

String [][] org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultArtifactContentViewer.ResultsTableArtifact.rowData = null
private

Definition at line 310 of file DefaultArtifactContentViewer.java.


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.