Autopsy  4.19.3
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 ArtifactsListPanel.java.

Member Function Documentation

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

Definition at line 244 of file ArtifactsListPanel.java.

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

Definition at line 361 of file ArtifactsListPanel.java.

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

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

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

Definition at line 337 of file ArtifactsListPanel.java.

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 ArtifactsListPanel.java.

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

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

Parameters
artifactThe artifact.
bbaThe BlackboardAttribute which may contain a value.
columnIndexThe column the value will be displayed in.
Returns
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.
Exceptions
TskCoreExceptionWhen unable to get abstract files based on the TSK_PATH_ID.

Definition at line 303 of file ArtifactsListPanel.java.

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<>()
private

Definition at line 210 of file ArtifactsListPanel.java.

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

Definition at line 211 of file ArtifactsListPanel.java.

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

Definition at line 209 of file ArtifactsListPanel.java.


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

Copyright © 2012-2022 Basis Technology. Generated on: Fri Dec 2 2022
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.