Sleuth Kit Java Bindings (JNI)  4.11.0
Java bindings for using The Sleuth Kit
org.sleuthkit.datamodel.AccountFileInstance Class Reference

Public Member Functions

void addAttribute (BlackboardAttribute bbatr) throws TskCoreException
void addAttributes (Collection< BlackboardAttribute > bbatrs) throws TskCoreException
Account getAccount () throws TskCoreException
BlackboardAttribute getAttribute (BlackboardAttribute.ATTRIBUTE_TYPE attrType) throws TskCoreException
Content getFile () throws TskCoreException

Detailed Description

An instance of an Account in a specific file. An Account may be found in multiple Content objects (such as different databases) on a single device. There is a 1:N relationship between Account objects and AccountFileInstance objects. A TSK_ACCOUNT artifact is created for every account file instance.

AccountFileInstances can optionally have BlackboardAttributes to store more details.

Definition at line 32 of file

Member Function Documentation

void org.sleuthkit.datamodel.AccountFileInstance.addAttribute ( BlackboardAttribute  bbatr) throws TskCoreException

Adds an attribute. It is faster to add multiple attributes as a collection using addAttributes().

bbatrThe attribute to add.
TskCoreExceptionif an there is an error adding the attribute.

Definition at line 63 of file

References org.sleuthkit.datamodel.BlackboardArtifact.addAttribute().

void org.sleuthkit.datamodel.AccountFileInstance.addAttributes ( Collection< BlackboardAttribute bbatrs) throws TskCoreException

Adds a collection of attributes

bbatrsThe collection of attributes to add.
TskCoreExceptionif an there is an error adding the attributes.

Definition at line 74 of file

References org.sleuthkit.datamodel.BlackboardArtifact.addAttributes().

Account org.sleuthkit.datamodel.AccountFileInstance.getAccount ( ) throws TskCoreException

Gets the underlying Account for this instance.

The account.
TskCoreExceptionif an there is an error getting the account.

Definition at line 85 of file

Referenced by org.sleuthkit.datamodel.blackboardutils.CommunicationArtifactsHelper.addCalllog(), and org.sleuthkit.datamodel.blackboardutils.CommunicationArtifactsHelper.addMessage().

BlackboardAttribute org.sleuthkit.datamodel.AccountFileInstance.getAttribute ( BlackboardAttribute.ATTRIBUTE_TYPE  attrType) throws TskCoreException

Gets the first occurrence of an attribute by type.

attrTypeThe attribute type.
The attribute, or null if no attribute of the given type exists.
TskCoreExceptionif an there is an error getting the attribute.

Definition at line 51 of file

References org.sleuthkit.datamodel.BlackboardArtifact.getAttribute().

Content org.sleuthkit.datamodel.AccountFileInstance.getFile ( ) throws TskCoreException

Gets the source content (data source or file within a data source) of the underlying Account artifact for this instance.

The source content.

Definition at line 97 of file

References org.sleuthkit.datamodel.SleuthkitCase.getContentById(), org.sleuthkit.datamodel.BlackboardArtifact.getObjectID(), and org.sleuthkit.datamodel.BlackboardArtifact.getSleuthkitCase().

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

Copyright © 2011-2021 Brian Carrier. (carrier -at- sleuthkit -dot- org)
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.