Autopsy  4.21.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.discovery.ui.ArtifactsListPanel.DomainArtifactTableModel Class Reference

Inherits AbstractTableModel.

Public Member Functions

int getColumnCount ()
String getColumnName (int column)
int getRowCount ()
Object getValueAt (int rowIndex, int columnIndex)

Private Member Functions

String getFallbackValue (int rowIndex, int columnIndex) throws TskCoreException
String getStringForColumn (BlackboardArtifact artifact, BlackboardAttribute bba, int columnIndex) throws TskCoreException

Private Attributes

final List< BlackboardArtifact > artifactList = new ArrayList<>()
final BlackboardArtifact.ARTIFACT_TYPE artifactType

Static Private Attributes

static final long serialVersionUID = 1L

Detailed Description

Table model which allows the artifact table in this panel to mimic a list of artifacts.

Definition at line 207 of file

Member Function Documentation

int org.sleuthkit.autopsy.discovery.ui.ArtifactsListPanel.DomainArtifactTableModel.getColumnCount ( )

Definition at line 244 of file

String org.sleuthkit.autopsy.discovery.ui.ArtifactsListPanel.DomainArtifactTableModel.getColumnName ( int  column)

Definition at line 361 of file

String org.sleuthkit.autopsy.discovery.ui.ArtifactsListPanel.DomainArtifactTableModel.getFallbackValue ( int  rowIndex,
int  columnIndex 
) throws TskCoreException

Private helper method to use when the value we want for either date or title is not available.

rowIndexThe row the artifact to return is at.
columnIndexThe column index the attribute will be displayed at.
A string that can be used in place of the accessed date time attribute title when they are not available.

Definition at line 337 of file

References org.sleuthkit.autopsy.coreutils.TimeZoneUtils.getFormattedTime().

Referenced by org.sleuthkit.autopsy.discovery.ui.ArtifactsListPanel.DomainArtifactTableModel.getValueAt().

int org.sleuthkit.autopsy.discovery.ui.ArtifactsListPanel.DomainArtifactTableModel.getRowCount ( )

Definition at line 238 of file

String org.sleuthkit.autopsy.discovery.ui.ArtifactsListPanel.DomainArtifactTableModel.getStringForColumn ( BlackboardArtifact  artifact,
BlackboardAttribute  bba,
int  columnIndex 
) throws TskCoreException

Get the appropriate String for the specified column from the BlackboardAttribute.

artifactThe artifact.
bbaThe BlackboardAttribute which may contain a value.
columnIndexThe column the value will be displayed in.
The value from the specified attribute which should be displayed in the specified column, null if the specified attribute does not contain a value for that column.
TskCoreExceptionWhen unable to get abstract files based on the TSK_PATH_ID.

Definition at line 303 of file

References org.sleuthkit.autopsy.casemodule.Case.getCurrentCase(), org.sleuthkit.autopsy.coreutils.TimeZoneUtils.getFormattedTime(), and org.sleuthkit.autopsy.casemodule.Case.getSleuthkitCase().

Referenced by org.sleuthkit.autopsy.discovery.ui.ArtifactsListPanel.DomainArtifactTableModel.getValueAt().

Object org.sleuthkit.autopsy.discovery.ui.ArtifactsListPanel.DomainArtifactTableModel.getValueAt ( int  rowIndex,
int  columnIndex 

Member Data Documentation

final List<BlackboardArtifact> org.sleuthkit.autopsy.discovery.ui.ArtifactsListPanel.DomainArtifactTableModel.artifactList = new ArrayList<>()

Definition at line 210 of file

final BlackboardArtifact.ARTIFACT_TYPE org.sleuthkit.autopsy.discovery.ui.ArtifactsListPanel.DomainArtifactTableModel.artifactType

Definition at line 211 of file

final long org.sleuthkit.autopsy.discovery.ui.ArtifactsListPanel.DomainArtifactTableModel.serialVersionUID = 1L

Definition at line 209 of file

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

Copyright © 2012-2022 Basis Technology. Generated on: Tue Feb 6 2024
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.